Uploaded image for project: 'eXo-JCR'
  1. eXo-JCR
  2. EXOJCR-766

QPath isDescendantOf returns wrong result on samename siblings

    Details

      Description

      TestQPath.testDescendantOrSelfOnSiblings() shows the usecase.
      The problem is in QPathEntry, which descends InternalQName.equals method. InternalQName do not knows about indexes. So same names, but with different indexes will be recognized as equal.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                sergiykarpenko Sergiy Karpenko (Inactive)
                Reporter:
                sergiykarpenko Sergiy Karpenko (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 4 hours Original Estimate - 4 hours
                  4h
                  Remaining:
                  Time Spent - 1 day, 2 hours Remaining Estimate - 4 hours
                  4h
                  Logged:
                  Time Spent - 1 day, 2 hours Remaining Estimate - 4 hours
                  1d 2h