Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 367300 - On paste / drag, we may end up with duplicate IDs.
Summary: On paste / drag, we may end up with duplicate IDs.
Status: RESOLVED FIXED
Alias: None
Product: MDT.RMF
Classification: Modeling
Component: ProR (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P2 critical (vote)
Target Milestone: 0.11.0   Edit
Assignee: Hussein MHANNA CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-21 06:32 EST by Michael Jastram CLA
Modified: 2014-07-29 09:49 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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