Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 334608 - CommitIntegrityCheck erroneously checks non-persistent features
Summary: CommitIntegrityCheck erroneously checks non-persistent features
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: Caspar D. CLA
QA Contact: Eike Stepper CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-17 23:38 EST by Caspar D. CLA
Modified: 2011-06-23 03:37 EDT (History)
1 user (show)

See Also:
stepper: review+


Attachments
Testcases (as a patch) (4.65 KB, patch)
2011-01-17 23:48 EST, Caspar D. CLA
no flags Details | Diff
Patch (including testcase) (6.64 KB, patch)
2011-01-17 23:51 EST, Caspar D. CLA
no flags Details | Diff
Patch v2 - ready to be committed (15.67 KB, patch)
2011-01-25 08:31 EST, 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 Caspar D. CLA 2011-01-17 23:38:29 EST
Non-persistent bi-di refs (*) get inspected during a CommitIntegrityCheck.
This gives an IndexOutOfBoundsException when the logic attempts to retrieve
the original value for the ref from the clean revision, as a basis for
comparison. (Because a non-persistent ref isn't present in the revision.)
Comment 1 Caspar D. CLA 2011-01-17 23:48:37 EST
Created attachment 186967 [details]
Testcases (as a patch)
Comment 2 Caspar D. CLA 2011-01-17 23:51:14 EST
Created attachment 186968 [details]
Patch (including testcase)
Comment 3 Eike Stepper CLA 2011-01-25 08:31:45 EST
Created attachment 187515 [details]
Patch v2 - ready to be committed
Comment 4 Caspar D. CLA 2011-01-25 21:59:44 EST
Committed to trunk, rev. 6931
Comment 5 Eike Stepper CLA 2011-06-23 03:37:58 EDT
Available in R20110608-1407