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

Bug 345256

Summary: Ensure that UUIDs are set on the correct resources
Product: [Modeling] Edapt Reporter: Markus Herrmannsdoerfer <herrmama>
Component: CoreAssignee: Markus Herrmannsdoerfer <herrmama>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Markus Herrmannsdoerfer CLA 2011-05-10 08:06:19 EDT
The UUIDs of model elements are stored with the resources in EMF. However, Edapt preserves the UUIDs during migration as part of the model elements. It needs to be ensured that the UUIDs have to be read from the correct resources of the model elements before migration and written to the correct ones after migration. Especially, this has to work in case of cross resource containment.
Comment 1 Markus Herrmannsdoerfer CLA 2011-05-10 08:09:26 EDT
Now, EObject.eResource is used to get and set the UUID to ensure that the UUIDs are stored in the correct resource.