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

Nested Page Properties Report in Page Properties doesn't work if space is set

    XMLWordPrintable

Details

    Description

      Issue Summary

      We have a cool option in Confluence that allows us to nest Page Properties Report macros within Page Properties to get the reference in other pages with Page Properties Report. Though, the last page with Page Properties Report won't work if the Page Properties Report from the page before is set to Current Space - it is a bit complex to get it, but following the below steps let things clearer, I promise.

      Steps to Reproduce

      Creating the source page:

      1. Create a page called Page-1;
      2. Insert the Page Properties macro and fill it with a simple table with any content;
      3. Add a label called Page 1 on this page.

      Creating the first report:

      1. In the same space, create a new page called Page 2;
      2. Insert the Page Properties macro;
      3. Within this macro, insert the Page Properties Report macro;
      4. In the label field, add Page-1;
      5. In the space field, set Current space;
      6. Publish the page;
      7. Insert a label page-2.

      Getting the issue

      1. On any different space, create a new page called Page 3;
      2. Insert the Page Properties Report macro;
      3. In the label field, set it as page-2;
      4. Publish the page.

      Expected Results

      The nested information is shown in the page.

      Actual Results

      The nested info stays as No content found.

      NOTES:

      • It is possible to see the content in the macro preview on Page 3;
      • It happens that, in Page 3, the nested macro inherits the settings from the macros in Page 2, so Confluence gets lost.

      Workaround

      On Page 2, remove the space information (current space) from the Page Properties Report macro and the info will be shown in Page 3.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vsiqueira Vinicius
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: