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

Bug 318851

Summary: CDONotificationBuilder cannot handle mixed OID's/CDOObjects when processing CDOClearFeatureDelta
Product: [Modeling] EMF Reporter: Eike Stepper <stepper>
Component: cdo.coreAssignee: Eike Stepper <stepper>
Status: CLOSED FIXED QA Contact: Eike Stepper <stepper>
Severity: normal    
Priority: P3    
Version: 4.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

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