Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2009-11-10 03:50:49 -0500
committerEike Stepper2009-11-10 03:50:49 -0500
commitaaae239fd2ec21408337f51d8af8fd8e60286b87 (patch)
tree53ea62647de33add2130fb3ccbe80eb28339c630 /plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/transaction
parentdfc7334a97b776c4b0433de4223967bc3cfd7dcb (diff)
downloadcdo-aaae239fd2ec21408337f51d8af8fd8e60286b87.tar.gz
cdo-aaae239fd2ec21408337f51d8af8fd8e60286b87.tar.xz
cdo-aaae239fd2ec21408337f51d8af8fd8e60286b87.zip
[294528] Preserve CDOID for re-attached CDOObjects
https://bugs.eclipse.org/bugs/show_bug.cgi?id=294528
Diffstat (limited to 'plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/transaction')
-rw-r--r--plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/transaction/CDOTransactionImpl.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/transaction/CDOTransactionImpl.java b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/transaction/CDOTransactionImpl.java
index 115d483c5e..93a23857bf 100644
--- a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/transaction/CDOTransactionImpl.java
+++ b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/transaction/CDOTransactionImpl.java
@@ -1262,6 +1262,10 @@ public class CDOTransactionImpl extends CDOViewImpl implements InternalCDOTransa
firstSavepoint.clear();
firstSavepoint.setNextSavepoint(null);
firstSavepoint.getSharedDetachedObjects().clear();
+
+ // Bug 283985 (Re-attachment)
+ formerRevisions.clear();
+
dirty = false;
conflict = 0;
lastTemporaryID.set(0);

Back to the top