[ http://issues.apache.org/jira/browse/JCR-338?page=all ]
Marcel Reutegger resolved JCR-338:
----------------------------------
Fix Version: 1.1
Resolution: Fixed
Translation of jcr:deref() function into lucene query tree was incomplete.
Fixed in revision: 384804
> Quey Builder and jcr:deref problem. Can't add predicate after jcr:deref
> -----------------------------------------------------------------------
>
> Key: JCR-338
> URL: http://issues.apache.org/jira/browse/JCR-338
> Project: Jackrabbit
> Type: Bug
> Components: query, xpath
> Versions: 0.9, 1.0
> Environment: Linux, java 1.4.2 and java 5.
> Reporter: Alvaro Gonzalez
> Assignee: Marcel Reutegger
> Fix For: 1.1
>
> Cannot add a predicate (like [EMAIL PROTECTED] = 'value'] after a jcr:deref
> function.
> The query builder throws an "InvalidQueryException: Unsupported location for
> jcr:deref()".
> So for example, the query :
> //element(*,nt:category)[EMAIL PROTECTED]/jcr:deref(@member, '*')[EMAIL
> PROTECTED]'value']
> is invalid and it should be valid.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira