Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-3301 Remove incorrect test assumptions
  3. JCR-3321

TCK: Strange XPath query in OrderByMultiTypeTest.testMultipleOrder

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.5.1
    • jackrabbit-jcr-tests
    • None

    Description

      The test org.apache.jackrabbit.test.api.query.OrderByMultiTypeTest.testMultipleOrder currently runs a query of the form:

      //testroot/*[@jcr:primaryType='nt:unstructured']

      I believe there is a typo in the test, and the query should be:

      /jcr:root/testroot/*[@jcr:primaryType='nt:unstructured']

      Attachments

        Activity

          People

            thomasm Thomas Mueller
            thomasm Thomas Mueller
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: