Enhancement
Major
Detail
Major
Detail
Bugfix
tl:TestComponentConfiguration reads each of the different layout XML files in webapp/WEB-INF/layouts/ and checks if 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 get a set of errors of the 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 tries to test the configuration of a typed template and fails when inlining the variable.
Implementation
The test should not test typed templates, i.e. files with the extension .template.xml.
Test
TestComponentConfiguration