Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
17.5.0, 16.10.9
-
Integration
-
Unknown
-
N/A
-
N/A
-
Description
On XWiki 16.10.9 and 17.5.0, when using the documentTree parameter with the openTo parameter set, it doesn't work properly if showRoot parameter is also set to true. Works fine if showRoot is set to false. It also used to work fine with both parameters on XWiki 16.4.6 so this is a regression.
For example, for this documentTree macro call that is built to work with standard distribution content:
{{documentTree root="document:xwiki:Help.WebHome" openTo="document:Help.Applications.Movies.WebHome" showRoot="true"/}}
we have the following:
On XWiki 16.4.6 (expected result):
On XWiki 16.10.9 and 17.5.0 (actual result):
Note: if the showRoot macro is removed or set to false, it opens properly on XWiki 16.10.9 and 17.5.0 as well:
Attachments
Issue Links
- is caused by
-
XWIKI-20528 Add parameter to open nodes of DocumentTree to given level/depth
-
- Closed
-