Issue with Page Properties Report
Asked by Geoff Chiang:

Hi all. Wondering if anyone else is experiencing this. We have a whole heap of pages, each of which contains six or seven Page Properties macros with different IDs. Within each of those Page Properties sections is a table as you would expect. These pages all have the same structure - it's basically a database of sorts. All of them also have the same label.

On the parent of these pages is the Page Properties Report macro which shows a handful of fields from these pages in a table. This worked fine for a long time, but just today, I looked at it and it was quite broken. Basically, each child page that it is picking up now has as many lines in the table as there are Page Properties macros on those child pages. Most of those lines are empty (other than the title column) - but a couple will show the expected field values. It seems to be putting in a line for each Page Properties macro, and if the requested fields happen to be within the macro that corresponds to the "current" line in the table, then it will show the requested data.

I did a simple test to check whether I had done something wrong. I made a page with two Page Properties macros, each with a table and some data. Then I made another page with the Page Properties Report picking up that page, requesting fields from only the table in the first macro. As described above, it had two lines in the table for the one page, with the first line showing values and the second not.

Is anyone else seeing this?


Answers:
author: Geoff Chiang
body: For anyone who is experiencing this, I've reported it to Atlassian and a bug has been raised: <https://jira.atlassian.com/browse/CONFCLOUD-70478>.


author: amassing
body: Hi Geoff -

We are experiencing the same issue as of a week or so ago. This is causing dozens of our page property reports to look like a total mess.

We need this fixed asap!


author: Geoff Chiang
body: Interestingly, in the dialog to edit the properties of the Page Properties Report macro, there is a preview function, and the table renders correctly (i.e. as it used to) in that preview. This suggests to me that the new behaviour on the page is a bug.


author: Geoff Chiang
body: Hi [@Thomas Bowskill](/t5/user/viewprofilepage/user-id/1252132) . Thanks for the suggestion. No, our tables don't have duplicate headers - I did check that. As I noted, this seems to be new behaviour. These pages haven't changed for a while. Judging from the discussion in the page I've linked in my other comment, this change occurred in late June.


author: Thomas Bowskill
body: Hi [@Geoff Chiang](/t5/user/viewprofilepage/user-id/4014405)

On your Pages, do your tables (within the Page Properties macros) have the same headers? I had this issue before, and the cause turned out to be the same table headers were used. Was getting an extra row for every duplicated header. Check to see if your tables have the same text as the headers -- if they do, make all headers within PP macros unique.


author: Geoff Chiang
body: I just noticed this discussion here: <https://community.atlassian.com/t5/Confluence-questions/Page-Properties-Report-shows-double-pages/qaq-p/1416941>.

This is definitely new behaviour, as we've had multiple Page Properties macros on our pages for a while, and the report would only show the one line per page. Question is which is the intended behaviour.


Tags: cloud

confluence-cloud