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

Bug 463427

Summary: Possible domain target types are wrong for ValidationRules
Product: [Modeling] Sirius Reporter: Cedric Brun <cedric.brun>
Component: CoreAssignee: Project inbox <sirius.core-inbox>
Status: CLOSED FIXED QA Contact: Belqassim Djafer <belqassim.djafer>
Severity: normal    
Priority: P3 CC: laurent.redor, maxime.porhel
Version: unspecifiedKeywords: triaged
Target Milestone: 3.0.0M7   
Hardware: PC   
OS: Linux   
See Also: https://git.eclipse.org/r/44856
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=2ecc499d050277fc6616583efc7ce5dfcbae497a
Whiteboard:
Attachments:
Description Flags
Reproduction case none

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.