enhancement
major
minor
major
minor
defect
tl:TestComponentConfiguration reads the various layout XML files in webapp/WEB-INF/layouts/ one by one and checks whether the result is a valid component configuration.
Files with the extensions
- _alias.xml
- _shared.xml
- _relations.xml
- .layout.overlay.xml
are not considered further in the test.
If you run the test, you will receive a number of errors of the following type
ERROR: Application 'webapp': In '/WEB-INF/layouts/com.top_logic/treetable.template.xml': Access to undefined variable 'fixedColumns'. (com.top_logic.basic.CheckingProtocol) ERROR: Application 'webapp': In '/WEB-INF/layouts/com.top_logic/treetable.template.xml': Access to undefined variable 'tableDrop'. (com.top_logic.basic.CheckingProtocol) ERROR: Application 'webapp': In '/WEB-INF/layouts/com.top_logic/treetable.template.xml': Access to undefined variable 'idColumn'. (com.top_logic.basic.CheckingProtocol)
The test attempts to test the configuration of a typed template and fails when inlining the variables.
Implementation
The test should not test typed templates, i.e., files with the .template.xml extension.
Test
TestComponentConfiguration