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

Bug 551107

Summary: Content-Part synchronisation in Content-Behavior throws ArrayIndexOutOfBoundsException when undoing removal
Product: [Tools] GEF Reporter: Matthias Wienand <matthias.wienand>
Component: GEF MVCAssignee: gef-inbox <gef-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: critical    
Priority: P3    
Version: 5.1.0   
Target Milestone: 5.2.0 (2019-09)   
Hardware: All   
OS: All   
Whiteboard:

Description Matthias Wienand CLA 2019-09-16 07:50:03 EDT
Due to a wrong order w.r.t. addition and reordering of parts within ContentBehavior, undoing removal throws ArrayOutOfBoundsException when a part is reordered to a later location that is missing, because a necessary addition did not yet happen.

The bug is fixed as of 5.2.0 release, but the fix might not be included in the corresponding Eclipse release. I will update here as soon as I know more.
Comment 1 Matthias Wienand CLA 2019-09-24 10:36:35 EDT
The bug-fix is included in the corresponding Eclipse release, because a respin did happen due to another bug that crashed Eclipse in some situations.