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

Bug 357942

Summary: Merging Issue with models generated in CDO-native mode
Product: [Modeling] EMFCompare Reporter: Alex Lagarde <alex.lagarde>
Component: CoreAssignee: EMF Compare <emf.compare-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: alex.lagarde, laurent.goubet
Version: 1.2Flags: laurent.goubet: iplog+
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Alex Lagarde CLA 2011-09-16 09:52:35 EDT
When trying to merge models generated in CDO-native mode, EMF Compare fails to add newly created elements in the expected position in contained orderered references.

This comes from EFactory.eAdd(), wich should test

 if (manyValue instanceof List) and try to call add(position, value) before considering that manyValue is a colleciton and use add(value).
Comment 1 Laurent Goubet CLA 2011-09-26 09:11:01 EDT
Thanks, this has been fixed on 1.2 and master