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

Bug 315314

Summary: [Profile diagram] Consistency between model and diagram can be broken
Product: [Modeling] Papyrus Reporter: Ansgar Radermacher <ansgar.radermacher>
Component: DiagramAssignee: Alexey Shatilov <shatilov>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: borlander, papyrus-bugs, Patrick.Tessier, vincent.lorenzo
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
See Also: https://git.eclipse.org/r/48383
https://git.eclipse.org/c/papyrus/org.eclipse.papyrus.git/commit/?id=0cca5e68f4bfe49e9b2327d21f053c5b32f2f85b
Whiteboard:

Description Ansgar Radermacher CLA 2010-06-01 17:35:12 EDT
Build Identifier: Build id: 20100527-0614

The consistency between model and diagram can be broken, if the model is manipulated via the model explorer.

Related issue (well, technically probably not related): it is possible to create multiple extension relationships to the same MM element, resulting in mutliple base_<MM> attribute (*same* <MM> element). The tool should prevent the user from doing that

Reproducible: Always

Steps to Reproduce:
1. Open a profile diagram
2. Add stereotype and extension relationship with MM element (filled arrow)
3. Select added stereotype and delete the base_<MM> attribute along with the extensionship relation
=> extension remains in diagram although base_<MM> is deleted
[if the extension association is deleted, but not the base_<MM> attribute, the extension is removed from diagram]
Comment 1 Eclipse Genie CLA 2015-05-21 10:58:23 EDT
New Gerrit change created: https://git.eclipse.org/r/48383
Comment 3 Michael Golubev CLA 2015-06-02 07:43:41 EDT
Fix should be in RC3, closing the task