summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEgidijus Vaisnora2012-01-11 08:39:15 (EST)
committerEgidijus Vaisnora2012-01-11 08:39:15 (EST)
commit45b2e46f1c5d755f01c195bec40c740287da011a (patch)
tree829ed6211205062ba9f32e54c819b6ca22c4cf9e
parent295dfedecf851334f409530b935eea610cd9d0a4 (diff)
downloadcdo-45b2e46f1c5d755f01c195bec40c740287da011a.zip
cdo-45b2e46f1c5d755f01c195bec40c740287da011a.tar.gz
cdo-45b2e46f1c5d755f01c195bec40c740287da011a.tar.bz2
Fixed WorkspaceTest.testCheckinAfterDetach2
-rw-r--r--plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/object/CDOLegacyWrapper.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/object/CDOLegacyWrapper.java b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/object/CDOLegacyWrapper.java
index ec345ed..4fcfdff 100644
--- a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/object/CDOLegacyWrapper.java
+++ b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/object/CDOLegacyWrapper.java
@@ -994,9 +994,9 @@ public abstract class CDOLegacyWrapper extends CDOObjectWrapper
InternalCDOObject oppositeCDOObject = (InternalCDOObject)CDOUtil.getCDOObject(oppositeObject);
if (oppositeCDOObject != null)
{
- InternalCDOView view = oppositeCDOObject.cdoView();
- if (view != null)
+ if (!FSMUtil.isTransient(oppositeCDOObject))
{
+ InternalCDOView view = oppositeCDOObject.cdoView();
CDOStore store = view.getStore();
if (store != null)
{