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

JCR-SQL2 query throws NPE if ordering by [jcr:path]

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 4.0.0.Alpha1
    • 3.7.1.Final
    • Query
    • None

    Description

      Query

      select p.*, p.[jcr:path] from [nt:base] as p join [nt:base] as ch on isdescendantnode(ch,p) order by p.[jcr:path]
      

      throws NPE at SortValuesComponent.createSortComparator:134.

      Query

      select p.*, p.[jcr:path] from [nt:base] as p join [nt:base] as ch on isdescendantnode(ch,p) order by p.[jcr:pathxxx]
      

      passes.

      Attachments

        Issue Links

          Activity

            People

              rhauch Randall Hauch (Inactive)
              jaroslav.skraban Jaroslav Skraban (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: