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

Bug 436428

Summary: Wrong package nsUri for diagram constraint providers
Product: [Modeling] Sirius Reporter: Florian Barbin <florian.barbin>
Component: DiagramAssignee: Florian Barbin <florian.barbin>
Status: CLOSED FIXED QA Contact: Maxime Porhel <maxime.porhel>
Severity: major    
Priority: P3 CC: maxime.porhel
Version: 1.0.0Keywords: triaged
Target Milestone: 1.0.0   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Florian Barbin CLA 2014-06-03 05:22:51 EDT
In org.eclipse.sirius.diagram, the org.eclipse.emf.validation.constraintProviders extension point that defines "Sirius Error", "Sirius Warning" and "Sirius Info" constraints declares a wrong namespaceUri: "http://www.eclipse.org/sirius/1.1.0" instead of "http://www.eclipse.org/sirius/diagram/1.1.0". 

That causes the following kind of error when validating from a diagram:

Constraint "org.eclipse.sirius.diagram.category.validation.info" could not find target EMF type "DDiagramElement."

The validations rules defined by the specifier are not applied any more.
Comment 1 Florian Barbin CLA 2014-06-03 08:30:33 EDT
Patch pushed on gerrit: https://git.eclipse.org/r/#/c/27818/
Comment 3 Maxime Porhel CLA 2014-06-04 11:18:34 EDT
Verified on RC3
Comment 4 Pierre-Charles David CLA 2014-06-25 10:14:59 EDT
Available in Sirius 1.0.0.