Preparations
- in IDE:
- create /themes/advanced/test.tpl template
- in Admin Console
- go to Configuration → Website → Themes section
- press Rescan Themes toolbar button
Part 1
- login to Admin Console
- go to Website & Content → Structure & Data section
- confirm, that:
- category with _Auto: test name exists
- the _Auto: test category has test in Template column in grid
- the _Auto: test category has semi-transparent red icon (means not visible in menu + theme bound)
- open _Auto: test category for editing
- press Save button on toolbar
- confirm, that saving was successful
- open _Auto: test category for editing
- change value in Template File textbox from test into test_bad
- press Save button on toolbar
- confirm, that saving failed due validation error on Template File field is triggered about non-existing test_bad` template
- close editing window
Part 2
- login to Admin Console
- go to Website & Content → Structure & Data section
- delete _Auto: test category
- open Forums category (should have yellow icon in grid) for editing
- change category type from Virtual into Template
- specify test in Template File field
- press Save button on toolbar
- confirm, that saving was successful
- confirm, that saved category now has red icon in grid
- open Forums category (should have red icon in grid) for editing
- change value in Template File textbox from test into test_bad
- press Save button on toolbar
- confirm, that saving failed due validation error on Template File field is triggered about non-existing test_bad` template
- change category type from Template into Virtual
- specify in-bulletin/designs/section in Template dropdown
- press Save button on toolbar
- confirm, that saving was successful
- confirm, that saved category now has yellow icon in grid