| Summary: | Validation markers do not appear on diagram for controlled resources | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] Sirius | Reporter: | Stéphane Thibaudeau <stephane.thibaudeau> | ||||
| Component: | Diagram | Assignee: | Maxime Porhel <maxime.porhel> | ||||
| Status: | CLOSED FIXED | QA Contact: | Pierre-Charles David <pierre-charles.david> | ||||
| Severity: | normal | ||||||
| Priority: | P4 | CC: | maxime.porhel, pierre-charles.david, steve.monnier | ||||
| Version: | 2.0.3 | Keywords: | triaged | ||||
| Target Milestone: | 3.1.5 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| See Also: |
https://bugs.eclipse.org/bugs/show_bug.cgi?id=455244 https://git.eclipse.org/r/69741 https://git.eclipse.org/r/69931 https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=7a5a60924eaa6d5ca4ba009d4e728e69f01a3e72 https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=336d26fc98f93dce935d0e7314da60b5809010f2 |
||||||
| Whiteboard: | |||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 455244, 490907 | ||||||
| Attachments: |
|
||||||
Probably related to bug #455244. 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. 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. New Gerrit change created: https://git.eclipse.org/r/69741 New Gerrit change created: https://git.eclipse.org/r/69931 Gerrit change https://git.eclipse.org/r/69741 was merged to [v3.1.x]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=7a5a60924eaa6d5ca4ba009d4e728e69f01a3e72 Gerrit change https://git.eclipse.org/r/69931 was merged to [v3.1.x]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=336d26fc98f93dce935d0e7314da60b5809010f2 Corrected on 3.1.x branch Verified on Sirius 3.1.5rc1. Available in Sirius 3.1.5. |
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