Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-23619

DocumentTree openTo doesn't work with translations or objects

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • 17.10.0-rc-1
    • 17.9.0-rc-1
    • Index
    • None
    • Unknown

    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:

      Attachments

        Issue Links

          Activity

            People

              surli Simon Urli
              surli Simon Urli
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: