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

pagination is not working when user macro is displayed on page properties report

    XMLWordPrintable

Details

    Description

      Steps to reproduce :

      1. Login to Confluence
      2. Navigate to Confluence admin >> General Configuration >> User Macros
      3. Create a user macro by following the Hello World example as per the link below :
        Example macros
      4. Create a new page named page property test page with page properties report macro with the following configuration as per the screenshot below :

        Please ensure that the "Number of item to display" in the page properties report macro is set to 20.
      5. Create 31 child pages with page properties embedded with tables (3 columns and 2 rows) as per the screenshot below :

        Ensure that the hello world user macro is included in one of the table column as per the screenshot above for every pages.
      6. Ensure that the label "tesu" is added to all pages
      7. Navigate back to the parent page and sort the title column.

      Current result : pagination is not working as it should. Click on page 2 shows empty result as per the screenshot below

      Expected result : Page 2 should show page result instead of being empty.

      Please note that this bug will occur irregardless of the number of page created. For example if you create 5 child pages and set the "number of item to display" setting to 1 it would also show the issue mentioned above

      Enclosed in this bug report is the space export that is able to replicate the issue :
      Confluence-space-export-163807-4.xml.zip

      Attachments

        1. Confluence-space-export-163807-4.xml.zip
          137 kB
        2. pagePropertiesReport.jpg
          pagePropertiesReport.jpg
          135 kB
        3. pagePropertiesReportPagination.jpg
          pagePropertiesReportPagination.jpg
          143 kB
        4. testPageTemplate.jpg
          testPageTemplate.jpg
          101 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dooi Der Lun
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: