Problems with finder in documentTree

I’m trying to set up navigation panels for top level pages and the tree looks and works great. When I use the finder I get results as expected, but all of the links are “undefined.” In the search call, the results data has all of the necessary data to display the page link, but in the rendered html it just shows as href=“undefined”, which leads me to believe that this might be a bug. Has anyone else encountered this problem?

Here’s what my panel code looks like:

{{velocity}}
#panelheader('Navigation')
## Escape special characters in macro parameter values.
#set ($openToDoc = $doc.documentReference.toString().replaceAll('([~"])', '~$1'))
{{documentTree showTranslations="true" showAttachments="false" compact="true" openTo="document:$openToDoc"
  root="document:xwiki:Main.Scholars_Portal.Project_RAMP.WebHome" finder="true" /}}
#panelfooter()
{{/velocity}}

And I’m using version 15.4

Any advice would be much appreciated.

Hi, thanks for raising this issue. I just fixed XWIKI-21193 with XWIKI-21193: Links from tree finder suggestions cannot be opened in a… · xwiki/xwiki-platform@240103f · GitHub .

Ah wonderful! Thank you @mflorea!