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

Bug 334608

Summary: CommitIntegrityCheck erroneously checks non-persistent features
Product: [Modeling] EMF Reporter: Caspar D. <caspar_d>
Component: cdo.coreAssignee: Caspar D. <caspar_d>
Status: CLOSED FIXED QA Contact: Eike Stepper <stepper>
Severity: normal    
Priority: P3 CC: saulius.tvarijonas
Version: 4.0Flags: stepper: review+
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Testcases (as a patch)
none
Patch (including testcase)
none
Patch v2 - ready to be committed none

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