Bug #61008
closedList view: Table-title does not display if label-field not specified
0%
Description
Okay, a label-field "should" always be specified. But there is no reason to not display the "title" of a table if the label (to be displayed for each record) is not set.
How to reproduce:- Take definition for any table in ext_tables.php.
- Remove the setting for "label".
- See that now also the "title" (and the plus-icon) is gone.
Files
Updated by Benni Mack over 9 years ago
- Status changed from New to Rejected
Hey Stefan,
some parts of the ctrl section need to be there at any time. If we provide fixes for the DB table, I'm sure we need to tackle 10 other places (lowlevel / System => DB check etc) - because of a misconfiguration. I don't think we should support dirty configuration of a TCA table AT ALL. So - if an extension author forgets to add the label section, he always should get a BIG FAT WARNING instead. I think therefore that we could write a "check if all TCA tables are configured correctly" tool in the Install Tool or lowlevel extension to ensure that everything is alright, instead of adding if() statements everywhere.