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

Page Tree macro Expand Collapse option breaks when clicked twice

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 7.4.4, 7.4.5, 7.8.1, 8.5.0, 7.19.12
    • Macros - Other Macros
    • None

    Description

      Issue Summary

      When adding Page Tree macro to sidebar via Space Tools > Look and Feel menu with an option to Expand Collapse content, clicking Expand or Collapse links with no actions will result in those links disappearing and remaining ones not working
      Same thing happens if using Page Tree macro on a page with Show Expand/Collapse Links box checked

      Steps to Reproduce

      1. Go to Space Tools > Sidebar, header and Footer
      2. Add Page Tree macro to sidebar with Expand/Collapse option:
         {pagetree:expandCollapseAll=true}
        
      1. Save, and click Expand All
      2. Click Expand All again

      Expected Results

      • Nothing happens upon second click on Expand All

      Actual Results

      • Expand All link disappears and Collapse All link becomes inactive
      • Same happens if you try to click Collapse All on already collapsed page tree

      Workaround

      Refreshing the page brings options back, until they break again

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              imuzaliov Igor M.
              Votes:
              14 Vote for this issue
              Watchers:
              22 Start watching this issue

              Dates

                Created:
                Updated: