Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.3
    • Fix Version/s: 7.4-milestone-2
    • Component/s: Index
    • Labels:
      None
    • Environment:
      Linux, Tomcat, MySQL, XWiki Enterprise 7.3
    • Difficulty:
      Medium
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response:

                  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