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

Confluence not able to render more than 2 page properties macro in a single page

      Issue Summary

      When user try to add more than 2 page properties report macro in a Confluence page, Confluence is only able to render the first 2 page properties report macro and the following macro will render with the following error.

      Error cannot display recursively nested report
      

      PS: Tested in Confluence version 7.6. The feature is working fine in version 7.6.

      Steps to Reproduce

      1. Create a Confluence page
      2. Add 4 page properties report macro
      3. Save the page
        For details, please refer to the following video
        Recording #19.mp4

      Expected Results

      Expect to see 4 page properties report macro render correctly without any error

      Actual Results

      Only the first 2 page properties report macro is able to render.

      Workaround #1

      Add the page properties report macro in another page. Then use the include page macro to display the page properties macro from other pages.

      Workaround #2

      Set the confluence.masterdetails.maximum.recursion.depth system property to a higher number (defaults to 2) (requires a restart of Confluence)

        1. Recording #19.mp4
          2.44 MB
        2. screenshot-1.png
          screenshot-1.png
          41 kB

          Form Name

            [CONFSERVER-60219] Confluence not able to render more than 2 page properties macro in a single page

            DnegTech added a comment -

            Hey Alex,

            We upgraded to 7.13.0 on 21st August and this error is visible on some of our pages. Created support details with more details CSP-295754

            DnegTech added a comment - Hey Alex, We upgraded to 7.13.0 on 21st August and this error is visible on some of our pages. Created support details with more details CSP-295754

            Alex K added a comment -

            ansm I cannot reproduce this on a fresh install of Confluence 7.11.2. Could you please provide some more details about your usage of the page property macro? Is it possible that the report is actually trying to render itself in this case?

            Alex K added a comment - ansm I cannot reproduce this on a fresh install of Confluence 7.11.2. Could you please provide some more details about your usage of the page property macro? Is it possible that the report is actually trying to render itself in this case?

            This issue has reappeared in 7.11.2

            Antonio Smith added a comment - This issue has reappeared in 7.11.2

            We added the property in setenv.sh and set the value to 20, did not help. We are on version 7.7.2

            CATALINA_OPTS="-Dconfluence.masterdetails.maximum.recursion.depth=20 ${CATALINA_OPTS}"
            

            Also, noticed one thing that this property is not in the list of Recognized System Properties of version 7.7. https://confluence.atlassian.com/conf77/configuring-system-properties-1021227441.html

            Not sure how Hans Jonker could fix the issue.

            Pranjal Shukla added a comment - We added the property in setenv.sh and set the value to 20, did not help. We are on version 7.7.2 CATALINA_OPTS= "-Dconfluence.masterdetails.maximum.recursion.depth=20 ${CATALINA_OPTS}" Also, noticed one thing that this property is not in the list of Recognized System Properties of version 7.7. https://confluence.atlassian.com/conf77/configuring-system-properties-1021227441.html Not sure how Hans Jonker could fix the issue.

            Tam Tran added a comment -

            A fix for this issue is available to Server and Data Center customers in Confluence 7.7.3
            Upgrade now or check out the Release Notes to see what other issues are resolved.

            Tam Tran added a comment - A fix for this issue is available to Server and Data Center customers in Confluence 7.7.3 Upgrade now or check out the Release Notes to see what other issues are resolved.

            Hans Jonker added a comment - - edited

            We have the same problem. In our system we are using a lot these page properties macros and now half of them are broken

             

            04-Sep-2020,

            We have implemented Workaround #2 and it now works fine again

            THANKS !!

            Hans Jonker added a comment - - edited We have the same problem. In our system we are using a lot these page properties macros and now half of them are broken   04-Sep-2020, We have implemented Workaround #2 and it now works fine again THANKS !!

            We have the same problem

            Network Services added a comment - We have the same problem

              aknight@atlassian.com Alex K
              lng@atlassian.com Lipkent Ng
              Affected customers:
              7 This affects my team
              Watchers:
              14 Start watching this issue

                Created:
                Updated:
                Resolved: