Details
-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
5.10.4, 7.19.1
-
2
-
Severity 2 - Major
-
0
-
Description
Summary
When creating a "create from template" button, the template doesn't matter, and set a default page name this issue occurs. The issue appears to be that if you use the macro to create a page and do not change the default page name, then the next time you run the macro it will target the existing page with that name, rather than creating a new page. This results in the existing page getting overwritten.
Steps to Reproduce
Create a blank page, insert a "create from template" macro on it, the template doesn't matter, set a default title for the page.
- Create a new custom template with variables inside of it.
- Create a page and insert the "Create from Template" macro and set it to the template you created in the first step.
- Click on the macro's button to create a page based on the template.
- Insert the variables' values. Do not modify the page name and publish it.
- Create another page using the macro again.
- Insert the variable's values, but make sure it's different than before.
- Do not modify the page name and publish the page.
Expected Results
Confluence shouldn't overwrite the initial page that was created. It should warn you that a page with the same title already exists in the space.
Actual Results
Confluence is creating a 2nd version of the original page using the newly created page's contents, although it was meant to be a different page.