Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 363460 - CDODeltaNotification.getOldValue() returns a CDOIDObjectLongImpl on remotely detached CDOObject
Summary: CDODeltaNotification.getOldValue() returns a CDOIDObjectLongImpl on remotely ...
Status: CLOSED FIXED
Alias: None
Product: EMF
Classification: Modeling
Component: cdo.core (show other bugs)
Version: 4.0   Edit
Hardware: PC Linux
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Eike Stepper CLA
QA Contact: Eike Stepper CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-10 07:15 EST by Eike Stepper CLA
Modified: 2012-09-21 06:51 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.