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

Bug 367300

Summary: On paste / drag, we may end up with duplicate IDs.
Product: [Modeling] MDT.RMF Reporter: Michael Jastram <michael>
Component: ProRAssignee: Hussein MHANNA <hussein.mhanna>
Status: RESOLVED FIXED QA Contact:
Severity: critical    
Priority: P2 CC: benjamin.schwertfeger, hussein.mhanna, lukas.ladenberger
Version: unspecified   
Target Milestone: 0.11.0   
Hardware: All   
OS: All   
Whiteboard:

Description Michael Jastram CLA 2011-12-21 06:32:07 EST
Migrated from http://dev.pror.org/ticket/32

NOTE: I believe the ItemProviders have hooks exactly for this scenario.
Comment 1 Benjamin Schwertfeger CLA 2013-04-25 06:40:19 EDT
In EMF the ID is part of the resource and the eObjectToIDMap. If elements are copied, the new element is not inside the map and the method attachHelper is used to generate a new one. I think this way could be used by RMF also and enables working with the model, like model transformations or sample reflective Editor.
Comment 2 Hussein MHANNA CLA 2014-07-28 19:02:54 EDT
This bug was fixed with the bug #440510
Comment 3 Michael Jastram CLA 2014-07-29 09:49:11 EDT
Resolved by Hussein in 	1d0e121b825f87b9586acd337ecfc0ee37829e01