[
https://issues.apache.org/jira/browse/JCR-1075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marcel Reutegger resolved JCR-1075.
-----------------------------------
Resolution: Duplicate
Resolving as duplicate.
> Error with predicate in query with multiple jcr:deref()
> -------------------------------------------------------
>
> Key: JCR-1075
> URL: https://issues.apache.org/jira/browse/JCR-1075
> Project: Jackrabbit
> Issue Type: Bug
> Components: query
> Affects Versions: 1.3.1
> Reporter: Michael Korat
>
> 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()[EMAIL PROTECTED]'someValue']
> Right result:
> //jcr:deref()[jcr:contains(.,'someValue')]
> //jcr:deref()//jcr:deref()/element(*, nt:base)[jcr:contains(.,'someValue']
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.