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

Ordered index returns the wrong nodes when ordering by relative properties

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0
    • query
    • None

    Description

      The ordered index returns the wrong nodes (the child nodes) when the "order by" uses a relative path for the property name. Example:

      select * from [nt:file] order by [jcr:content/jcr:lastModified]
      

      This query returns the nodes at level "jcr:content" (the child nodes) instead of the nodes at level "nt:file".

      Attachments

        1. OAK-1776.patch
          5 kB
          Thomas Mueller

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: