Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-338

Query Builder and jcr:deref problem. Can't add predicate after jcr:deref

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9
    • 1.0
    • query, xpath
    • None
    • Linux, java 1.4.2 and java 5.

    Description

      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.

      Attachments

        Activity

          People

            mreutegg Marcel Reutegger
            kortatu Alvaro Gonzalez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: