-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Medium
-
None
-
13
-
Severity 3 - Minor
-
Confluence
Issue Summary
When migrating Confluence spaces from cloud to cloud the 'Create from template' macro doesn't work and displays the following message when clicked on:
The original template has been deleted. Select a new template for the Create From Template macro.
This is reproducible on a cloud site: Yes
Steps to Reproduce
- Create a space on the source site;
- Create a new page and add the 'Create from Template' macro button, point it to the page desired template;
- Migrate space from Cloud to Cloud via 'Copy Product Data';
Expected Results
The 'create-from-template' macro button works on the destination. But it doesn't.
Actual Results
Clicking the macro button causes the following message to show:
The original template has been deleted. Select a new template for the Create From Template macro.
Some Notes
- Below is the 'View Storage Format' from the source site:
<p> <ac:structured-macro ac:name="create-from-template" ac:schema-version="1" ac:local-id="db40b7c6-97f5-4d5a-a7c6-f6acb5c0892a" ac:macro-id="733ada09-fdeb-4a66-8c55-ef9b01d7a26f"> ... ... <ac:parameter ac:name="contentBlueprintId">f879304d-5c20-46a8-9207-100d309c1367</ac:parameter> <ac:parameter ac:name="templateName">f879304d-5c20-46a8-9207-100d309c1367</ac:parameter> ... </ac:structured-macro> <p/>
- The 'View Storage Format' from the destination site is the same as the source page.
After performing the workaround on the destination, the parameter IDs are now updated to the expected ones.
<p> <ac:structured-macro ac:name="create-from-template" ac:schema-version="1" ac:local-id="db40b7c6-97f5-4d5a-a7c6-f6acb5c0892a" ac:macro-id="371bee16-27bd-4a0b-a5ba-c71d3c5ebcfd"> ... <ac:parameter ac:name="contentBlueprintId">708ffcae-5202-4bd7-a574-f86d1ba6a292</ac:parameter> <ac:parameter ac:name="templateName">708ffcae-5202-4bd7-a574-f86d1ba6a292</ac:parameter> ... </ac:structured-macro> <p/>
Workaround
Edit the macro on the page and hit 'Save' on the 'Create from Template' macro without changing the parameters. If you don't hit the 'Save' button and update the page, hit the 'Cancel', the behavior persists.