Bug 461740 - Validation markers do not appear on diagram for controlled resources
Summary: Validation markers do not appear on diagram for controlled resources
Status: CLOSED FIXED
Alias: None
Product: Sirius
Classification: Modeling
Component: Diagram (show other bugs)
Version: 2.0.3   Edit
Hardware: PC Windows 7
: P4 normal (vote)
Target Milestone: 3.1.5   Edit
Assignee: Maxime Porhel CLA
QA Contact: Pierre-Charles David CLA
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks: 455244 490907
  Show dependency tree
 
Reported: 2015-03-09 12:49 EDT by Stéphane Thibaudeau CLA
Modified: 2016-04-21 08:45 EDT (History)
3 users (show)

See Also:


Attachments
Example to reproduce (4.02 KB, application/x-zip-compressed)
2015-03-09 12:49 EDT, Stéphane Thibaudeau CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stéphane Thibaudeau CLA 2015-03-09 12:49:34 EDT
Created attachment 251410 [details]
Example to reproduce

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 Pierre-Charles David CLA 2015-06-30 10:03:55 EDT
Probably related to bug #455244.
Comment 2 Pierre-Charles David CLA 2015-12-15 04:11:48 EST
Moving out of the 4.0 scope for now, along with all the other issues which were there "by default". This does not mean some of these will not be re-integrated at some point, but for now these issues are not part of the roadmap for 4.0.

If you feel strongly about this removal from 4.0 and/or are ready to sponsor the corresponding work, feel free to comment.
Comment 3 Maxime Porhel CLA 2016-04-01 09:25:12 EDT
The problems occurs not only on "controlled" representations (ie when the session is split with one main aird and other referenced analysis) but as soon as the a marked DDiagram is not contained in the main aird (session.getSessionResource().

Note that the markers are created on the main aird in order to avoid that Eclipse tries to open one of the referenced DAnalysis (sub aird) and create a new sub/partial session . This also ensure that if a session is already open, Sirius will reuse it and open the editor on the expected and already loaded instances when the user double clic on the marker from the problem view.
Comment 4 Eclipse Genie CLA 2016-04-01 12:09:16 EDT
New Gerrit change created: https://git.eclipse.org/r/69741
Comment 5 Eclipse Genie CLA 2016-04-05 11:23:54 EDT
New Gerrit change created: https://git.eclipse.org/r/69931
Comment 8 Maxime Porhel CLA 2016-04-13 09:39:01 EDT
Corrected on 3.1.x branch
Comment 9 Pierre-Charles David CLA 2016-04-14 04:41:13 EDT
Verified on Sirius 3.1.5rc1.
Comment 10 Maxime Porhel CLA 2016-04-21 08:45:37 EDT
Available in Sirius 3.1.5.