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

xpath to sql2 conversion drops order by clause for some cases

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.6.0, 1.8.0
    • Fix Version/s: 1.9.0, 1.10.0, 1.8.1, 1.6.9
    • Component/s: query
    • Labels:
      None

      Description

      When xpath has OR-ed primary type and a couple of OR-ed property constraint (e.g. [0]), the converted sql statement doesn't get ordering clause.

      [0]:

      //(element(*, type1) | element(*, type2))[@a='b' or @c='d'] order by @foo
      

        Attachments

          Activity

            People

            • Assignee:
              thomasm Thomas Mueller
              Reporter:
              catholicon Vikas Saurabh
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: