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

Bug 353172

Summary: CDOSavePoint and Reattachment issue
Product: [Modeling] EMF Reporter: Eike Stepper <stepper>
Component: cdo.coreAssignee: Eike Stepper <stepper>
Status: CLOSED FIXED QA Contact: Eike Stepper <stepper>
Severity: normal    
Priority: P3    
Version: 4.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Fix none

Description Eike Stepper CLA 2011-07-27 02:53:49 EDT
Cloned from: 353167: CDOSavePoint and Reattachment issue
https://bugs.eclipse.org/bugs/show_bug.cgi?id=353167

Build Identifier: CDO 4.0 GA

1) Open a CDO Transaction on a resource.
2) Delete one object (dummyObject) from its container.
3) Create a CDOSavePoint
4) Undo the delete operation 
5) Create a CDOSavePoint
6) Modify the dummyObject, let say change one of its attributes for instance its name.
7) Create a CDOSavePoint.
8) Commit the CDO transaction.

>> The modification made at step 6 is not committed due to the fact the dummyObject was contained in getSharedDetachedObjects.

See the post at the following link to have the whole explanation : 
http://www.eclipse.org/forums/index.php/mv/msg/222265/702727/#msg_702727

Stephane.



Reproducible: Always
Comment 1 Eike Stepper CLA 2011-07-27 03:14:08 EDT
Created attachment 200421 [details]
Fix
Comment 2 Eike Stepper CLA 2011-07-27 03:15:36 EDT
Committed revision 8823:
- branches/4.0-maintenance/plugins/org.eclipse.emf.cdo
- branches/4.0-maintenance/plugins/org.eclipse.emf.cdo.tests
Comment 3 Eike Stepper CLA 2011-07-27 03:15:52 EDT
Resolved.
Comment 4 Eike Stepper CLA 2012-09-21 06:52:35 EDT
Closing.