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

Bug 363460

Summary: CDODeltaNotification.getOldValue() returns a CDOIDObjectLongImpl on remotely detached CDOObject
Product: [Modeling] EMF Reporter: Eike Stepper <stepper>
Component: cdo.coreAssignee: Eike Stepper <stepper>
Status: CLOSED FIXED QA Contact: Eike Stepper <stepper>
Severity: major    
Priority: P3    
Version: 4.0   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Eike Stepper CLA 2011-11-10 07:15:23 EST
Cloned from: 363287: CDODeltaNotification.getOldValue() returns a CDOIDObjectLongImpl on remotely detached CDOObject
https://bugs.eclipse.org/bugs/show_bug.cgi?id=363287

Build Identifier: CDO 4.0

In CDODeltaNotification.adapt() method, we see that with a CDOIDObjectLong of a remotely detached CDOObject, the CDOView.getObject(id, true) throws a ObjectNotFoundException, but this exception is ignored silently. In the case we should returns null.

Reproducible: Always
Comment 1 Eike Stepper CLA 2011-11-11 02:52:29 EST
commit 608953befb65a7ed4d64be924ff891719c8e365b
Author: Eike Stepper <stepper@esc-net.de> 2011-11-10 13:14:05
Committer: Eike Stepper <stepper@esc-net.de> 2011-11-11 08:31:46
Parent: 96f376f301a6576afd95c6fd2adb014f11b2f19e (fix for org.eclipse.emf.cdo.tests.bugzilla.Bugzilla_359992_Test.testDeltaNotification() in 4.0)
Branches: origin/streams/4.0-maintenance, streams/4.0-maintenance

363460: CDODeltaNotification.getOldValue() returns a CDOIDObjectLongImpl on remotely detached CDOObject
https://bugs.eclipse.org/bugs/show_bug.cgi?id=363460
Comment 2 Eike Stepper CLA 2012-09-21 06:51:43 EDT
Closing.