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

Error with predicate in query with multiple jcr:deref()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.3.1
    • None
    • query
    • 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

          Activity

            People

              Unassigned Unassigned
              koratm Michael Korat
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: