Bug 463427 - Possible domain target types are wrong for ValidationRules
Summary: Possible domain target types are wrong for ValidationRules
Status: CLOSED FIXED
Alias: None
Product: Sirius
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 3.0.0M7   Edit
Assignee: Project inbox CLA
QA Contact: Belqassim Djafer CLA
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2015-03-30 06:12 EDT by Cedric Brun CLA
Modified: 2015-06-24 11:17 EDT (History)
2 users (show)

See Also:


Attachments
Reproduction case (1.14 KB, application/octet-stream)
2015-04-08 05:28 EDT, Maxime Porhel CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Cedric Brun CLA 2015-03-30 06:12:13 EDT
Tracking a specific bug to split some changes which were coming in 

https://git.eclipse.org/r/#/c/44114/3/plugins/org.eclipse.sirius/src/org/eclipse/sirius/business/api/dialect/description/AbstractInterpretedExpressionQuery.java

Target types should be analyzed and declared for ViewValidationRule and SemanticValidationRule
Comment 1 Eclipse Genie CLA 2015-03-30 11:03:03 EDT
New Gerrit change created: https://git.eclipse.org/r/44856
Comment 2 Maxime Porhel CLA 2015-04-08 05:28:09 EDT
Created attachment 252223 [details]
Reproduction case

Step to reproduce
 . Open the attached VSM
 . Validate the Validation set
 . We should have errors: the validation/completion think that the context is an EPackage (domain class of the diagram description) and does not take the domain class of the validation rule into account.
Comment 4 Cedric Brun CLA 2015-04-17 12:24:59 EDT
Integrated for M7
Comment 5 Belqassim Djafer CLA 2015-05-21 09:16:33 EDT
Verified with Sirius 3.0.0 RC1
Comment 6 Pierre-Charles David CLA 2015-06-24 11:17:23 EDT
Available in Sirius 3.0.0. See https://wiki.eclipse.org/Sirius/3.0.0.