Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 351110 - Fix index for moves from left to right
Summary: Fix index for moves from left to right
Status: CLOSED FIXED
Alias: None
Product: EMF
Classification: Modeling
Component: cdo.core (show other bugs)
Version: 4.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Eike Stepper CLA
QA Contact: Eike Stepper CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-04 14:12 EDT by Eike Stepper CLA
Modified: 2012-09-21 06:50 EDT (History)
0 users

See Also:


Attachments
Fix (3.63 KB, patch)
2011-07-27 03:52 EDT, Eike Stepper CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eike Stepper CLA 2011-07-04 14:12:26 EDT
Cloned from: 350027: Fix index for moves from left to right
https://bugs.eclipse.org/bugs/show_bug.cgi?id=350027

Build Identifier: 4.0 GA

The index variable needs to be modified in adjustAfterRemoval() for moves from left to right (smaller index to a bigger one).

We have this patch in our CDO code but I am not sure if we have a test case for it.

Reproducible: Always
Comment 1 Eike Stepper CLA 2011-07-27 03:52:14 EDT
Created attachment 200427 [details]
Fix
Comment 2 Eike Stepper CLA 2011-07-27 03:52:34 EDT
Committed revision 8825:
- branches/4.0-maintenance/plugins/org.eclipse.emf.cdo.common
- branches/4.0-maintenance/plugins/org.eclipse.emf.cdo.tests
Comment 3 Eike Stepper CLA 2011-07-27 03:52:58 EDT
Resolved.
Comment 4 Eike Stepper CLA 2012-09-21 06:50:16 EDT
Closing.