Config tests: Section

This page tests that rivendell section configuration works as expected.

Set up

Nothing to do - this is all set up via xml.

Results

Test Expected Actual Result
Admin tag meta data (heading) Test table Test table PASS
Admin tag meta data (info) A table for doing tests with. A table for doing tests with. PASS
Admin tag meta data (pkey) ref ref PASS
Admin tag meta data (title1) ref ref PASS
Admin tag meta data (title2) varchar_field varchar_field PASS
Admin tag meta data (title3 - deliberately left empty in xml) -empty- PASS
Admin tag meta data (searchFields - set explicitly in xml) varchar_field,text_field varchar_field,text_field PASS
Admin tag meta data (searchFields - set to true, inherit titles) ref,varchar_field ref,varchar_field PASS
Admin tag meta data (hasPos - not present in section) false false PASS
Admin tag meta data (hasPos - present in section) true true PASS
Admin tag meta data (hasPos - present in section but not ordered on) true true PASS
Admin tag used on section that has no heading element (should default to section name) headless headless PASS
Admin tag used on section that has no workflow to get primary key column out ($pkey$) ref ref PASS
Admin tag used on section that has no workflow to get resource key column out ($resourcepkey$) ref ref PASS