Details
-
Bug
-
Resolution: Fixed
-
Minor
-
7.3
-
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
- depends on
-
XCOMMONS-892 RegexTool#find() returns the capturing groups for only the first match
- Closed