Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-1469

SQL query with path selectors does not find direct descendants of root node

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 3.0.0.Beta1
    • 3.0.0.Alpha3
    • None
    • None

    Description

      The issue is exposed by the tck tests: SQLPathTest#testChildAxisRoot

      The test scenario involves using a readonly session and executing the following query: SELECT * FROM nt:base WHERE jcr:path LIKE '/%' AND NOT jcr:path LIKE '/%/%'. The results are asserted against session.getRootNode.getNodes().

      The result is that only "/" (mode:root) is found, instead of /testroot and /jcr:system. Using a directory to store the indexes and looking with Luke at the indexed content, it does appear as if the above mentioned paths aren't stored in any document.

      Attachments

        Issue Links

          Activity

            People

              hchiorean Horia Chiorean (Inactive)
              hchiorean Horia Chiorean (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: