Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-66362

Children Display Macro - "Depth of Descendents" property is ignored if "Show Descendents" property is set

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 7.8.1, 7.12.0, 7.13.1, 7.13.2, 7.13.5
    • Macros - Other Macros
    • None

    Description

      Issue Summary

      By checking on the "Show Descendents" checkbox when adding a Children Display macro, it will display all descendents on a page. Even this behavior is described in the Children Display macro's documentation, this can be still pretty confusing when we want to control the "Depth of Descendents" option. Setting any value for the "Depth of Descendents" option is not reflect the real display when the "Show Descendents" option is being checked.

      Parameter Description
      Show Descendants (all) ... If true shows the complete tree of pages underneath the parent page, regardless of Depth of Descendants

      Proposal for preventing this confusion:

      1. Rename select box "Show Descendants" to "Show All Descendants"
      2. Move "Depth of Descendants" up so that it is right after "Show All Descendants" and when "Show All Descendants" is selected grey out OR better hide the "Depth of Descendants" field

      Steps to Reproduce

      1. Create a parent page and several sub-pages with different levels
      2. Add a "Children Display" macro to the parent page and while adding:
        1. Check the "Show Descendants" checkbox
        2. Enter 1 as a value for the "Depth of Descendants" field

      Expected Results

      Only 1 level of descendants will be displayed on the page.

      Actual Results

      All the page tree that is residing under the parent page will be displayed on the page. This behavior leads to performance degradation or even application outages due to the bug tracked in CONFSERVER-43191 ticket.

      Workaround

      When you want to configure "Depth of Descendants", you need to uncheck the "Show Descendants" checkbox.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              9f7de485df51 Basar Beykoz
              Votes:
              39 Vote for this issue
              Watchers:
              31 Start watching this issue

              Dates

                Created:
                Updated: