Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-12847

Error in Document Tree with finder

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 7.4-milestone-2
    • 7.3
    • Index
    • None
    • Linux, Tomcat, MySQL, XWiki Enterprise 7.3
    • Medium
    • N/A
    • N/A

    Description

      DocumentTree with finder=true does not work properly.
      For certain existing pages always work but for others always fail.
      No problem with non-existing pages, returns correctly "Not found"

      When failing the following is logged:
      Caused by: org.apache.velocity.exception.MethodInvocationException:
      Invocation of method 'subList' in class java.util.ArrayList threw exception
      java.lang.IllegalArgumentException: fromIndex(0) > toIndex||(-1) at
      48:documentationbss:XWiki.DocumentTree[line 1384, column 48]

      As Marius Dumitru suggested in email:
      "Looks like a bug. The finder returns results (suggestions) that are not in
      the tree and thus for which the tree fails to compute the path."

      Attachments

        Issue Links

          Activity

            People

              mflorea Marius Dumitru Florea
              illuque Iago Lluque
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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