Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 461316

Summary: In .odesign editor, validation ignore variables defined as "siblings" of an operation
Product: [Modeling] Sirius Reporter: Cedric Brun <cedric.brun>
Component: CoreAssignee: Cedric Brun <cedric.brun>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: belqassim.djafer, maxime.porhel, pierre-charles.david
Version: unspecifiedKeywords: triaged
Target Milestone: 3.0.0M6   
Hardware: All   
OS: All   
See Also: https://git.eclipse.org/r/43086
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=1607888c011a824a4cd6c03fb1387177f2e9a170
Whiteboard:

Description Cedric Brun CLA 2015-03-03 10:06:30 EST
Steps to reproduce :
1- import the "Interactions" sample and open "/org.eclipse.sirius.sample.interactions.design/description/interaction.odesign"
2- expand the editor to 
Interaction (Group) / Interactions (Viewpoint) / Sequence Diagram on Interaction /  Default/ Tools/ Instance Role Creation Tool Participant / Begin / ChangeContext var:container
3- right click "validate"
=> you get a validation error into an External Java Action Parameter (element) because var:instance is not declared, whereas it is declared in a CreateInstance operation which is sibling to the external Java Action.
Comment 1 Eclipse Genie CLA 2015-03-03 10:29:46 EST
New Gerrit change created: https://git.eclipse.org/r/43086
Comment 3 Cedric Brun CLA 2015-03-04 09:19:15 EST
Done
Comment 4 Belqassim Djafer CLA 2015-04-13 11:52:16 EDT
Verified on Sirius 3.0.0M6
Comment 5 Pierre-Charles David CLA 2015-06-24 11:12:47 EDT
Available in Sirius 3.0.0. See https://wiki.eclipse.org/Sirius/3.0.0.