Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 318851 - CDONotificationBuilder cannot handle mixed OID's/CDOObjects when processing CDOClearFeatureDelta
Summary: CDONotificationBuilder cannot handle mixed OID's/CDOObjects when processing C...
Status: CLOSED FIXED
Alias: None
Product: EMF
Classification: Modeling
Component: cdo.core (show other bugs)
Version: 4.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Eike Stepper CLA
QA Contact: Eike Stepper CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-05 05:23 EDT by Eike Stepper CLA
Modified: 2011-06-23 03:39 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 2010-07-05 05:23:50 EDT
Cloned from: 318844: CDONotificationBuilder cannot handle mixed OID's/CDOObjects when processing CDOClearFeatureDelta
https://bugs.eclipse.org/bugs/show_bug.cgi?id=318844

Code assumes that list consists either of CDOID's only, or
of CDOObjects only. But the list content can in fact be mixed.
When it is, a ClassCastException gets thrown because the
subsequent iteration over the list's contents assumes all
elements are CDOID's.

Offending code is in CDONotificationBuilder.java, lines 180 ff.
Comment 1 Eike Stepper CLA 2010-07-05 05:25:16 EDT
Committed to HEAD
Comment 2 Eike Stepper CLA 2011-06-23 03:39:27 EDT
Available in R20110608-1407