Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-268

XPathQueryEvaluator generates incorrect XPath query

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.5
    • 0.5
    • jcr
    • None

    Description

      XPathQueryEvaluator generated XPath query has two issues. For more details refer to [1]

      1. rep:principalName should be added as property exp. jcr:like(rep:principalName,'%%') -> jcr:like(@rep:principalName,'%%')
      2. fn:name(.) should be fn:name(). jcr:like(fn:name(.),'%%') -> jcr:like(fn:name(),'%%')

      [1] http://markmail.org/thread/ygna4ld47b3wwgkc

      Attachments

        1. OAK-268.patch
          1 kB
          Chetan Mehrotra

        Activity

          People

            mduerig Michael Dürig
            chetanm Chetan Mehrotra
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: