Details
-
Bug
-
Resolution: Duplicate
-
Medium
-
None
-
5.10.0, 5.10.1, 5.10.2
Description
Summary
Editing same page at same time breakes nested macros as "Broken Macro"
Environment
- Confluence 5.10.1
Steps to Reproduce
- Place a Info macro on a page.
- Place a Status macro into the Info macro.
- Save the page
- Open the page with one browser(A)
- Open the page with another browser(B)
- on (A) Edit the page and add a line (ex. line1) into the first line.
- on (B) Edit the page and add a line (ex. last_line) into the last line.
- Save the page on (A)
- Save the page on (B)
- You can see the "Broken Macro"
Expected Results
Save safety without a problem.
Actual Results
nested macros are broken, when user edit one page at same time.
origin
... <ac:structured-macro ac:name="info" ac:schema-version="1" ac:macro-id="82bfd187-5659-4a16-bf0a-d97205229590"> <ac:rich-text-body> <p> <ac:structured-macro ac:name="status" ac:schema-version="1" ac:macro-id="9e060ee3-66dd-4fda-bf4d-360b92d40da2"> <ac:parameter ac:name="colour">Red</ac:parameter> <ac:parameter ac:name="title">test</ac:parameter> </ac:structured-macro> ...
Broken macro
... <ac:structured-macro ac:name="info" ac:schema-version="1" ac:macro-id="82bfd187-5659-4a16-bf0a-d97205229590"> <ac:rich-text-body> <p> <ac:structured-macro> <ac:parameter ac:name="colour">Red</ac:parameter> <ac:parameter ac:name="title">test</ac:parameter> </ac:structured-macro> ...
ac:name, ac:schema-version and ac:macro elements have gone.
missing ac:name causes this issue.
Workaround
if you installed Source Code Editor plugin, you edit the source code.
and add
ac:name="status"
after ac:structured-macro and save.
this is a case of using Status Macro.
Attachments
Issue Links
- duplicates
-
CONFSERVER-40988 Macro within another macro is broken after the second user saves the page
- Closed