This issue has been created
There is 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-610fabd9-086e-43ec-8df7-625f1634f715 XWIKI-23619 Open

DocumentTree openTo doesn't work with translations or objects

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-89a6aa77-8a1c-4ade-9111-ce4370c2f9db Simon Urli created this issue on 21/Oct/25 10:44
 
Summary: DocumentTree openTo doesn't work with translations or objects
Issue Type: cid:jira-generated-image-avatar-610fabd9-086e-43ec-8df7-625f1634f715 Bug
Affects Versions: 17.9.0-rc-1
Assignee: Unassigned
Attachments: image-2025-10-21-10-43-57-159.png
Components: Index
Created: 21/Oct/25 10:44
Priority: cid:jira-generated-image-static-major-cae22510-4263-4847-a9b2-d4d346041ff4 Major
Reporter: Simon Urli
Description:

Reproduction steps:

  • Insert the following macros in a fresh wiki:
    {{documentTree openTo="translations:xwiki:Sandbox.WebHome"/}}
    
    {{documentTree showObjects="true" openTo="objects:xwiki:Menu.WebHome"/}}
    
    {{documentTree showObjects="true" openTo="objectsOfType:xwiki:Menu.WebHome/xwiki:XWiki.XWikiRights"/}}
    

Expected result:

  • The first tree should be opened on the translations pages of Sandbox
  • The second tree should be opened on the objects of the Menu page
  • The third tree should be opened on the XWikiRight object of the Menu page

Obtained result:

  • The three trees are opened on the document they refer to only (so Sandbox, and Menu) instead of opening the actual nodes referred in the macro:
    _thumb_44282.png
 
 

1 comment

 
cid:jira-generated-image-avatar-89a6aa77-8a1c-4ade-9111-ce4370c2f9db Simon Urli on 21/Oct/25 10:44
 

This could be related to XWIKI-23618 as maybe this need a working openTo level.