Bug 432495 - Deleted mappings are not removed from DirectEditLabel.mappings
Summary: Deleted mappings are not removed from DirectEditLabel.mappings
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Diagram (show other bugs)
Version: 1.0.0M4   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2014-04-10 05:52 EDT by Yvan Lussaud CLA
Modified: 2014-04-10 09:44 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yvan Lussaud CLA 2014-04-10 05:52:42 EDT
When deleting a mapping, if it's referenced in a DirectEditLabel.mappings, it's not deleted from DirectEditLabel.mappings.
Comment 1 Florian Barbin CLA 2014-04-10 09:44:27 EDT
The direct edit mapping is referenced by the mapping it self and not by the direct edit tool. So when deleting the mapping, there is no more persisted reference. In this case it's the DirectEditLabelImpl#getMapping() operation that still returns the delete mapping.