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

Bug 463430

Summary: 'For' model operation might change the type context
Product: [Modeling] Sirius Reporter: Cedric Brun <cedric.brun>
Component: CoreAssignee: Project inbox <sirius.core-inbox>
Status: CLOSED FIXED QA Contact: Maxime Porhel <maxime.porhel>
Severity: normal    
Priority: P3 CC: maxime.porhel
Version: unspecifiedKeywords: triaged
Target Milestone: 3.0.0M7   
Hardware: All   
OS: All   
See Also: https://git.eclipse.org/r/44855
https://git.eclipse.org/r/44854
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=7ca9001b6977d26829e37e539f8ecf23133e7b5d
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=39bf3ea1c60f5b4fabc4cbc595834aff7aa9bddc
Whiteboard:
Attachments:
Description Flags
Sample VSM with a For operation none

Description Cedric Brun CLA 2015-03-30 06:34:17 EDT
A "For" model operation might change the "self" type to consider during validation.

This ticket tracks a comment made in https://git.eclipse.org/r/#/c/44114/3/plugins/org.eclipse.sirius/src/org/eclipse/sirius/business/api/dialect/description/AbstractInterpretedExpressionQuery.java where a similar mechanism has been setup for CreateInstance operations.
Comment 1 Eclipse Genie CLA 2015-03-30 11:02:59 EDT
New Gerrit change created: https://git.eclipse.org/r/44855
Comment 2 Eclipse Genie CLA 2015-03-30 11:03:01 EDT
New Gerrit change created: https://git.eclipse.org/r/44854
Comment 3 Maxime Porhel CLA 2015-04-07 05:07:44 EDT
Created attachment 252190 [details]
Sample VSM with a For operation

Steps to reproduce
 . import the attached sample VSM
 . open it
 . Validate the group
 . It should be valid. 

Without the correction I get a "Feature eClassifiers not found in EClass EClass" for the change context child of the For operation.
Comment 6 Cedric Brun CLA 2015-04-17 12:24:02 EDT
Done for M7
Comment 7 Maxime Porhel CLA 2015-05-21 09:29:17 EDT
Verified on Sirius 3.0.0 RC1
Comment 8 Pierre-Charles David CLA 2015-06-24 11:14:58 EDT
Available in Sirius 3.0.0. See https://wiki.eclipse.org/Sirius/3.0.0.