Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 342595 - OCLQueryHandler does not ignore old revisions
Summary: OCLQueryHandler does not ignore old 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: 342657
Blocks:
  Show dependency tree
 
Reported: 2011-04-12 11:10 EDT by Eike Stepper CLA
Modified: 2011-06-23 03:42 EDT (History)
1 user (show)

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-12 11:10:32 EDT
In case of auditing or branching the OCLQueryHandler does not ignore old revisions of detached objects.
Comment 1 Eike Stepper CLA 2011-04-12 11:12:09 EDT
The OCLQueryHandler makes wrong usage of the new exactTime parameter in the two calls to IStoreAccessor.handleRevisions().
Comment 2 Eike Stepper CLA 2011-04-12 11:13:03 EDT
Correction: The CDOExtentCreator makes this fault.
Comment 3 Eike Stepper CLA 2011-04-12 11:13:17 EDT
Committed revision 7612:
- trunk/plugins/org.eclipse.emf.cdo.server.ocl
- trunk/plugins/org.eclipse.emf.cdo.tests
Comment 4 Eike Stepper CLA 2011-04-12 11:13:27 EDT
Committed revision 7612
Comment 5 Erdal Karaca CLA 2011-06-16 03:46:06 EDT
The sql query handler has the same behavior:

org.eclipse.emf.cdo.util.ObjectNotFoundException: Object <...> not 
found in branch 0 at *

when querying the db like this and an object was deleted:

select * from MyObject
Comment 6 Eike Stepper CLA 2011-06-23 03:42:25 EDT
Available in R20110608-1407