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

Document Tree macro doesn't properly work when using the "openTo" parameter and setting Hidden Docs to True

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.4-milestone-1
    • Fix Version/s: 7.0-milestone-1, 6.4.1
    • Component/s: Index, Tree
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Steps to reproduce:

      1. Create a page with this content:
        {{documentTree openTo="document:Sandbox.TestPage2" /}}
      2. The tree is opened to the Sandbox.TestPage2 node
      3. Change your user's preferences and set "Display hidden documents" to Yes
      4. Reload the page from step 1
      5. The tree isn't opened to the Sandbox.TestPage2 node

      Might be related to the fact that there are a maximum of 15 branches opened at once. You need to click on the Eye icon to see more.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mflorea Marius Dumitru Florea
                Reporter:
                msmeria Manuel Smeria
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: