Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
1.3.1
-
None
-
None
Description
Using multiple jcr:deref() in a query that ends with jcr:deref() followed by a predicate always returns an empty result.
Here are some example queries to clarify the scope of the problem:
Empty result:
//jcr:deref()//jcr:deref()[jcr:contains(.,'someValue')]
//jcr:deref()//jdcr:deref()[@prop='someValue']
Right result:
//jcr:deref()[jcr:contains(.,'someValue')]
//jcr:deref()//jcr:deref()/element(*, nt:base)[jcr:contains(.,'someValue']
Attachments
Issue Links
- is duplicated by
-
JCR-1650 XPathQueryBuilder may not handle multiple jcr:deref correctly
- Closed