You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2006/03/10 15:32:39 UTC
[jira] Resolved: (JCR-338) Quey Builder and jcr:deref problem.
Can't add predicate after jcr:deref
[ 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 [@property = '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)[@member]/jcr:deref(@member, '*')[@property='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