Project

General

Profile

Actions

Bug #61008

closed

List view: Table-title does not display if label-field not specified

Added by Stefan Neufeind over 10 years ago. Updated over 9 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2014-08-16
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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

list_label-not-yet.png (30.3 KB) list_label-not-yet.png Stefan Neufeind, 2014-08-16 19:26
Actions #1

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.

Actions

Also available in: Atom PDF