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

Adaptivist Page Information macro in Page properties report

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 5.3.4
    • 5.1.2
    • None
    • Atlassian Confluence 5.1.2
      Adaptivist Page Information Tools 3.0.0 com.adaptavist.confluence.pageinfo

      I try to use Adaptivist Page information macro to automatically fill values in Page properties macro.

      For example I fill page property Last modified date using this macro.

      Everything in displayed ok on the page.

      But when we look at Page properties report, we see incorrect date in the Last modified Column.

      It looks like this value is duplicated on every row, containing the same macro (Page information|modified-date) with the value of the first row.

        1. conf 1 edit page .png
          conf 1 edit page .png
          102 kB
        2. conf 2 view page.png
          conf 2 view page.png
          72 kB
        3. conf 3 view report.png
          conf 3 view report.png
          164 kB
        4. 1.png
          1.png
          63 kB
        5. 2.png
          2.png
          37 kB
        6. 3.png
          3.png
          38 kB

            [CONFSERVER-29543] Adaptivist Page Information macro in Page properties report

            Looks like this issue CONF-31363 describes my problem

            Vladimir Muravlev added a comment - Looks like this issue CONF-31363 describes my problem

            Hi Vladimir

            Could you please raise the cyrillic problem in a new issue so that we can track it separately.
            Please supply screenshots, version of confluence and the plugins you are using as this will help us identify the issue faster.

            Jonas Soderstrom (Inactive) added a comment - Hi Vladimir Could you please raise the cyrillic problem in a new issue so that we can track it separately. Please supply screenshots, version of confluence and the plugins you are using as this will help us identify the issue faster.

            I upgrared confluence from 5.2.3 to 5.3.1
            Now values of fields with cyrillic names simply not showing in the report. Most of our page properties are cyrillic, so all our report are completly broken!
            Please fix this ASAP

            Vladimir Muravlev added a comment - I upgrared confluence from 5.2.3 to 5.3.1 Now values of fields with cyrillic names simply not showing in the report. Most of our page properties are cyrillic, so all our report are completly broken! Please fix this ASAP

            Agnes Ro added a comment -

            5.3 users should be able to get this fix earlier via marketplace:
            https://marketplace.atlassian.com/plugins/confluence.extra.masterdetail

            Agnes Ro added a comment - 5.3 users should be able to get this fix earlier via marketplace: https://marketplace.atlassian.com/plugins/confluence.extra.masterdetail

            Anca added a comment -

            Another example using parent page title.

            Anca added a comment - Another example using parent page title.

            Anca added a comment -

            I experienced the same problem using both macros.
            In the page where Page Properties Report it is added the "Page Information Macro" is executed as it was placed in that page.

            The following example is more relevant:
            I have the following hierarchy:
            HOME
            --| PARENT_PAGE
            -----| CHILD_PAGE1
            -----| CHILD_PAGE2

            in CHILD_PAGE1 I have
            "Page Properties | label = release" containing Page Information Macro |title|page=@parent // I want to display the name of the parent page using the page info macro
            This is displayed as "PARENT_PAGE"

            in PARENT_PAGE I have
            "Page Properties Report | label = release"

            On the column with page title for the row CHILD_PAGE1 it appears "HOME". In fact HOME appears on all rows for all pages.

            This leads me to the conclusion that on PARENT_PAGE the Page Information Macro is executed on this page instead of reading information from the pages where it was added.

            Anca added a comment - I experienced the same problem using both macros. In the page where Page Properties Report it is added the "Page Information Macro" is executed as it was placed in that page. The following example is more relevant: I have the following hierarchy: HOME --| PARENT_PAGE -----| CHILD_PAGE1 -----| CHILD_PAGE2 in CHILD_PAGE1 I have "Page Properties | label = release" containing Page Information Macro |title|page=@parent // I want to display the name of the parent page using the page info macro This is displayed as "PARENT_PAGE" in PARENT_PAGE I have "Page Properties Report | label = release" On the column with page title for the row CHILD_PAGE1 it appears "HOME". In fact HOME appears on all rows for all pages. This leads me to the conclusion that on PARENT_PAGE the Page Information Macro is executed on this page instead of reading information from the pages where it was added.

            I created User Macro to use instead of Page Information macro

            ## @noparams
            $content.LastModificationDate
            

            Page properties report macro shows same incorrect duplicated values for pages using my user macro,
            So I guess the bug is in Page properties report, not in Adaptivist Page information macro.

            Vladimir Muravlev added a comment - I created User Macro to use instead of Page Information macro ## @noparams $content.LastModificationDate Page properties report macro shows same incorrect duplicated values for pages using my user macro, So I guess the bug is in Page properties report, not in Adaptivist Page information macro.

              agnes@atlassian.com Agnes Ro
              48aa017eccba Vladimir Muravlev
              Affected customers:
              4 This affects my team
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: