Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 342657 - MEMStore.handleRevisions() does not exclude detached revisions
Summary: MEMStore.handleRevisions() does not exclude detached revisions
Status: CLOSED FIXED
Alias: None
Product: EMF
Classification: Modeling
Component: cdo.core (show other bugs)
Version: 4.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Eike Stepper CLA
QA Contact: Eike Stepper CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 342595
  Show dependency tree
 
Reported: 2011-04-13 00:38 EDT by Eike Stepper CLA
Modified: 2011-06-23 03:39 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eike Stepper CLA 2011-04-13 00:38:28 EDT
MEMStore.handleRevisions() does not exclude detached revisions. That's why these new test cases currently fail:

	OCLQueryTest.testDeletedObject()
	OCLQueryTest.testAuditWithDetachedObject()
Comment 1 Eike Stepper CLA 2011-04-13 00:39:22 EDT
Adding:

    if (revision instanceof DetachedCDORevision)
    {
      return true;
    }
Comment 2 Eike Stepper CLA 2011-04-13 00:41:19 EDT
Committed revision 7613
Comment 3 Eike Stepper CLA 2011-06-23 03:39:33 EDT
Available in R20110608-1407