[ 
https://issues.apache.org/jira/browse/OAK-1045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13778712#comment-13778712
 ] 

Marcel Reutegger commented on OAK-1045:
---------------------------------------

Do you mean the query matches modified items and not their unmodified state?

That's covered by the second implementation choice:

bq. the content of its bound persistent workspace as modified by the pending 
changes in its bound transient store.

This is indeed different from Jackrabbit 2.x where the query was always 
executed against the persisted state of the workspace, ignoring transient 
changes. But as the specification says, this is an implementation-variant.
                
> Query finds transient Items
> ---------------------------
>
>                 Key: OAK-1045
>                 URL: https://issues.apache.org/jira/browse/OAK-1045
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: jcr, query
>    Affects Versions: 0.9
>            Reporter: Christan Keller
>
> Access the query through a Session with pending changes.
> The query contains these unsaved Items in its result.
> This is not according the spec
> [JCR 2.0 | http://www.day.com/specs/jcr/2.0/6_Query.html#6.12.2 Queryable 
> Content]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to