Pages with Content by label macro scoped to a space render an error after upgrade to Confluence 5.8

Description

Prerequisites:

  • Confluence 5.7

  • Confluence 5.8.2 or above

  • Scroll Translations

Steps to reproduce:

  1. Create a page with a label in Confluence 5.7

  2. Create another page with Content by Label macro -> Edit macro to include only pages from current space

  3. Activate TRSL, add a language

  4. Translate the page with Content by Label macro to another language

  5. Export the space, import it to Confluence 5.8/upgrade Confluence 5.7 to 5.8.2

  6. Open the page with Content by Label macro

  7. Click Edit -> Save

Expected results:
The page is saved and the information is rendered correctly.

Actual results:
After saving the page displays

Workaround:

  1. Install Source Editor

  2. In each language: edit a page -> source -> find the code corresponding to selected language -> delete this tag in Content by Label macro

  3. Repeat step 2 for each language

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

Details

Assignee

Reporter

Labels

Time tracking

2d 4h 15m logged

Components

Fix versions

Backbone Issue Sync

Created October 13, 2015 at 1:29 PM
Updated March 17, 2023 at 2:04 PM
Resolved October 20, 2015 at 8:17 AM