Details
-
Bug
-
Resolution: Fixed
-
Medium
-
10
-
Severity 3 - Minor
-
Description
Issue Summary
Multiple Template variables with the same name will block saving updates to the template when editing an existing one.
Environment
New editor for templates.
Steps to Reproduce
Replication Method #1
- Create a new template.
- Create a new variable, then add another instance of that same variable somewhere else in the template.
- Save the template.
- Edit that template.
- Make no changes, then click "Save"
Replication Method #2
These steps require using two different methods of creating multiple instances of a variable.
- If you copy a variable from the template, then delete everything on the template page, then paste the variable many times, it will let you save. but if you paste that variable, then use the macro menu and add the New Variable macro with the same name, it won't let you save.
- Alternatively, if you start with a clean template and you use the macro menu to create a variable, you can use that method infinitely for the same variable name, and it would allow you to save. but if you add a new variable from the macro menu, then copy paste that macro anywhere, it won't let you save.
Expected Results
The page saves normally.
Actual Results
The page does not save, and this error pops up:
Can't save changes
Multiple template variables which have the same name "Test" but different parameters.
(Optional - If Necessary)
Workaround
Editing and "saving" each of the duplicated variables will fix the issue that causes the editor to think they have different parameters, and will allow saving of the page, however, it will only allow it for that particular save.