This issue
I tried the following tests on 9.5.9
Prerequisites:¶
- On a sysfolder > list view > create a new template record
- Add a title ("AAAAA"), click on "Save and Close".
Test 1¶
1) Open the template record "AAAAA"
1.1) Tab "Includes" > field Include Basis Template [basedOn]
> click on the "+" icon ("Add New Basis Template") to add a new template
2) fill in a title "BBBBB" for the new created template, save and close it
2.1) Now the "BBBBB" template is listed on the list Include Basis Template [basedOn]
3) Click on Close
Actual result¶
- The template "AAAAA" is closed
- The "BBBBB" template has been include, this means that the "AAAAA" template change has been saved without confirmation
Expected result¶
- The "Do you want to close without saving?" modal should be shown
Test 2¶
1) same sysfolder > list view > create a new template record "CCCCC"
1.1) Save it and close
2) Open the template record "AAAAA"
2.1) Tab "Includes" > field Include Basis Template [basedOn]
> click on the "folder" icon ("Browse for records") to add an existing template
2.2) Select "CCCCC"
2.3) Now the "CCCCC" template is listed on the list Include Basis Template [basedOn]
3) Click on Close
Actual result¶
- The "Do you want to close without saving?" modal is shown
Test 3¶
1) same sysfolder > list view > open the template record "AAAAA"
2) Tab "Includes" > field Include Basis Template [basedOn]
2.1) the list shows both "BBBBB" and "CCCCC" templates
2.2) Select one of the templates
3) Click on the arrows icons (e.g. "Move selected items upwards") and alter the order of the templates
4) Click on Close
Actual result¶
- The "Do you want to close without saving?" modal is shown
Test 4¶
1) same sysfolder > list view > open the template record "AAAAA"
2) Tab "Includes" > field Include Basis Template [basedOn]
2.1) the list shows both "BBBBB" and "CCCCC" templates
2.2) Select one of the templates
3) Click on the delete icon ("Remove selected items")
4) Click on Close
Actual result¶
- The "Do you want to close without saving?" modal is shown
Conclusion:¶
- the issue only affects the "+" button ("Add New Basis Template")