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

XPathQueryEvaluator generates incorrect XPath query

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6
    • 2.5.2
    • jackrabbit-core
    • None

    Description

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

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

      See also OAK-268

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

      Attachments

        Activity

          People

            mduerig Michael Dürig
            mduerig Michael Dürig
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: