Gernott / mask

TYPO3 Extension Mask
https://www.facebook.com/typo3mask
GNU General Public License v2.0
130 stars 86 forks source link

Linkvalidator shows field keys because TCA columns have no labels #629

Closed cweiske closed 5 months ago

cweiske commented 5 months ago

The TYPO3 core extension linkvalidator lists broken links and prints the fields that contain them.

For core fields, the field label is shown, but for mask fields only the field key is shown. The reason is that the linkvalidator extension uses the label field in the column's TCA definition, and mask does not add labels.

It would be nice if mask would add label to the column definitions in TCA[tt_content][columns][*][label]

Screenshot: 2024-06-11 linkvalidator fields


This happens with mask v8.3.10 on TYPO3 11.5.37 and TYPO3 12.4.14.

cweiske commented 5 months ago

Mask stores the field labels not in TCA.$table.columns.$field.label but in TCA.$table.types.$contenttype.columnsOverrides.*.label. Every single content element may overwrite the label of a field, so it's hard to determine the base label. I guess linkvalidator needs to handle column overrides instead.

cweiske commented 5 months ago

Bug #104035: Linkvalidator does not support columnsOverrides