[
https://issues.apache.org/jira/browse/OAK-1083?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13886428#comment-13886428
]
Thomas Mueller commented on OAK-1083:
-------------------------------------
The query is missing a @, it should be @id='[email protected]'
> Query with descendent node and access control fails to return result
> --------------------------------------------------------------------
>
> Key: OAK-1083
> URL: https://issues.apache.org/jira/browse/OAK-1083
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: core, security
> Affects Versions: 0.9
> Reporter: Chetan Mehrotra
> Assignee: Thomas Mueller
> Priority: Minor
> Labels: compatibility
> Fix For: 0.11
>
> Attachments: OAK-1083-testcase.patch
>
>
> The scenario is bit complex. Running a query with following condition does
> not give any result
> * Node path is like
> {{/home/users/geometrixx-outdoors/[email protected]/social/relationships/following/[email protected]}}
> * It has a Glob jcr:read for everyone at
> {{\*/social/relationships/following/\*}}
> * The query is like
> bq.
> /jcr:root/home//social/relationships/following//*[id='[email protected]']
> * The query is executed with anonymous session
> On JR2 it returns expected result while on Oak it does not give any result
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)