Details
-
Bug
-
Resolution: Fixed
-
Medium
-
None
-
4
-
Severity 3 - Minor
-
Description
Issue Summary
For some reason, some Content by Label macros have the schema-version parameter set to 1, which causes an error and breaks the page. That parameter should be 4.
Steps to Reproduce
So far, we haven't been able to replicate the issue from scratch, but we've received some reports of this issue.
Expected Results
- It shouldn't be possible to have the macro with the wrong schema
- Or it shouldn't break the page
Actual Results
The page can't be viewed, with the "We've hit a snag" error message:
And the following error in the browser's console:
Error: Failed to parse ADF: <div class="error fatal-render-error">Error: Error migrating macro 'contentbylabel' in content 'ContentId{id=12345}' from schema version 1. Message: java.lang.IllegalArgumentException: Unable to migrate contentbylabel parameters at ...
Workaround
Update the page's source code using the API and change the following parameter inside the contentbylabel macro:
ac:schema-version="1"
set it to
ac:schema-version="4"
You may contact support and mention this bug report so we can apply the workaround for you.
Attachments
Issue Links
- mentioned in
-
Page Loading...