Pages with Content by label macro scoped to a space render an error after upgrade to Confluence 5.8
Description
Environment
None
Attachments
4
Activity
Show:
Christoffer Bromberg (K15t) October 16, 2015 at 10:26 AM
The storage representation of the macro is also damaged, if you have a conditional content macro on the page and then publish to another space.
Christoffer Bromberg (K15t) October 15, 2015 at 7:22 AM
Created https://jira.atlassian.com/browse/CONF-39582 at Atlassian. Nevertheless we will provide a piece of code that avoids the error situation and a job or resource to find and clean up already screwed up pages.
Fixed
Created October 13, 2015 at 1:29 PM
Updated March 17, 2023 at 2:04 PM
Resolved October 20, 2015 at 8:17 AM
Prerequisites:
Confluence 5.7
Confluence 5.8.2 or above
Scroll Translations
Steps to reproduce:
Create a page with a label in Confluence 5.7
Create another page with Content by Label macro -> Edit macro to include only pages from current space
Activate TRSL, add a language
Translate the page with Content by Label macro to another language
Export the space, import it to Confluence 5.8/upgrade Confluence 5.7 to 5.8.2
Open the page with Content by Label macro
Click Edit -> Save
Expected results:
The page is saved and the information is rendered correctly.
Actual results:
After saving the page displays
Workaround:
Install Source Editor
In each language: edit a page -> source -> find the code corresponding to selected language -> delete this tag in Content by Label macro
Repeat step 2 for each language