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

Bug 348926

Summary: Problems with ChangeDescription#copyAndReverse(...)
Product: [Modeling] EMF Reporter: Kenn Hussey <Kenn.Hussey>
Component: CoreAssignee: Ed Merks <Ed.Merks>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 Flags: Kenn.Hussey: indigo+
Version: 2.7.0   
Target Milestone: SR1   
Hardware: PC   
OS: Linux Qt   
Whiteboard:
Attachments:
Description Flags
updated test case
none
Patches to address several issues. none

Description Kenn Hussey CLA 2011-06-09 12:19:13 EDT
The following problems exist with this method, as demonstrated by a test case which I will attach shortly:

- nested child objects in separate resources don't get added when applying the changes
- references to nested child objects get added twice when applying the changes
Comment 1 Kenn Hussey CLA 2011-06-09 12:25:17 EDT
Created attachment 197704 [details]
updated test case

Here's an updated version of the existing test case which adds a new test demonstrating the problems.
Comment 2 Ed Merks CLA 2011-08-29 13:24:16 EDT
Created attachment 202346 [details]
Patches to address several issues.

These are three changes to address all the problems related to the change recorder that you reported.
Comment 3 Kenn Hussey CLA 2011-08-29 18:12:08 EDT
The fixes have been committed to CVS (head and maintenance).
Comment 4 Kenn Hussey CLA 2011-08-29 19:51:01 EDT
The fixes are available in maintenance build M201108291525 and integration build I201108291838.