Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-57728

Pagetree macro in header and footer causes infinite loop page reload

    XMLWordPrintable

Details

    Description

      Summary

      Confluence keeps reloading page if header or footer includes pagetree macro specifying root= parameter.

      Environment

      • Confluence with SPA

      Steps to Reproduce

      1. Go to https://example.atlassian.net/wiki/admin/custompagecontent.action, and set Footer as follows:
        Footer starts.
        {pagetree:root=}
        Footer ends.
        
      2. Open any page and verify the following behaviors are happening:
        • Confluence warns "The following macros are not currently supported in the footer: pagetree"
        • Page reload causes infinite loop

      Expected Results

      Pagetree macro in header or footer doesn't cause infinite loop.

      Actual Results

      Pagetree macro in header or footer causes infinite loop.

      Notes

      • This started occurring after enabling SPA
      • Infinite loop happens only if pagetree specifies root= parameter

      Workaround

      Remove root= parameter from the pagetree macro.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kyamamoto@atlassian.com K. Yamamoto
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: