Missing Results in {{documentTree}}-Finder

Hi there!

I have some trouble using the documentTree macro. It seams that if I specify a page reference containing a : within it’s root, the search with finder="true" does not work. Is that a known issue, a ‘works as designed,’ or an unknown issue? Is there any workaround besides deleting the :? :wink:

{{documentTree root="document:MySpace.Example\: DNW.WebHome" finder="true"/}}

BTW, constructing a reference by doing string manipulation is not the best, as it’s easy to make mistakes (missing escapes for example). You need to be sure that $MySpace is valid and doesn’t contain characters that would need to be escaped. There’s a script service to construct references: https://extensions.xwiki.org/xwiki/bin/view/Extension/Model%20Module#HScriptServiceAPI

That said, I’ve been able to reproduce your issue on a 16.9.0 instance. Would be great if you could create a bug issue at Loading...

Thanks

Of course, it’s not :sweat_smile: When simplifying the code line to MySpace.Example…, I unfortunately missed to select the $ :see_no_evil:

See XWIKI-22700