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

Document tree macro ignores excluded references when showSpaces is "true"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 17.10.9
    • Index
    • None
    • Unknown

    Description

      With showSpaces="true", you cannot hide page/space through exclusions . To obsever current behaviour, either create new space/page or use existen ones and call documentTree macro somewhere in your XWiki, ex.

      {{documentTree showSpaces="true" showRoot="true" exclusions="document:xwiki:Sandbox.Internal Test.WebHome"/}}
      

      or

      {{documentTree showSpaces="true" showRoot="true" exclusions="space:xwiki:Sandbox.Internal Test"/}}
      

      Both source codes will provide this result local test from XWiki Jetty HSQLDB 17.10.9.jpeg . Only passing showSpaces="false" will exclude listed page/space.

      Attachments

        Activity

          People

            Unassigned Unassigned
            npetrenko Nikita Petrenko
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: