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

Bug 490907

Summary: Validation markers do not appear on diagram for controlled resources
Product: [Modeling] Sirius Reporter: Maxime Porhel <maxime.porhel>
Component: DiagramAssignee: Laurent Redor <laurent.redor>
Status: CLOSED FIXED QA Contact: Laurent Redor <laurent.redor>
Severity: normal    
Priority: P3 CC: laurent.redor, maxime.porhel, pierre-charles.david, stephane.thibaudeau, steve.monnier
Version: 2.0.3Keywords: triaged
Target Milestone: 4.0.0M7   
Hardware: PC   
OS: Windows 7   
See Also: https://git.eclipse.org/r/69619
https://git.eclipse.org/r/71087
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=3e98cae364873867c8a5380ddc78fb7dcab1e119
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=10f8085f4ed9b5ed09262e44a2e7b292767d5069
Whiteboard:
Bug Depends on: 461740    
Bug Blocks: 491216    

Description Maxime Porhel CLA 2016-04-01 09:17:45 EDT
+++ This bug was initially created as a clone of Bug #461740 +++

The validation problems markers are displayed on a diagram.
But, if the semantic resource (or maye aird) is controlled, no decorator is displayed. The problems view show the corresponding errors though.

Steps to reproduce :

- import the provided project
- open "class diagram" on "main" EPackage
- validate diagram => decorators are displayed = OK

- open "sub1 package entities"
- validate diagrams => decorators are not displayed = OK
Comment 1 Maxime Porhel CLA 2016-04-04 03:58:38 EDT
*** Bug 490981 has been marked as a duplicate of this bug. ***
Comment 2 Maxime Porhel CLA 2016-04-13 09:40:24 EDT
Fix must be cherry-picked and adapted from 3.1.x branch. 
Test cases should be completed with additional scenario related to referenced DAnalysis on master branch
Comment 3 Eclipse Genie CLA 2016-04-20 12:05:33 EDT
New Gerrit change created: https://git.eclipse.org/r/71087
Comment 6 Laurent Redor CLA 2016-04-25 07:58:56 EDT
The two above commits fix the problem. Only the tests (comment 2) are needed to close this issue as resolved.
Comment 7 Laurent Redor CLA 2016-05-26 08:41:48 EDT
The tests will not be done directly in Sirius (but in another product that uses Sirius).
Comment 8 Laurent Redor CLA 2016-05-26 09:56:08 EDT
Verified on Sirius 4.0.0 RC1 (4.0.0.201605180923) with manual tests of description.
Comment 9 Pierre-Charles David CLA 2016-06-24 08:01:59 EDT
Available in Sirius 4.0.0.