Skip to content
Snippets Groups Projects
Commit 38eb42dc authored by Christian Weiske's avatar Christian Weiske Committed by Christian Kuhn
Browse files

[BUGFIX] Show element specific labels in linkvalidator report

The link validator "missing links" report shows the title of the
field which contains the missing link.

This title is loaded from `TCA.$table.columns.$field.label`,
but it is possible to use content-element specific labels in
`TCA.$table.types.$contenttype.columnsOverrides.*.label`,
and this is not supported by the validator.

The patch first tries to load the overridden label and
then falls back to the normal TCA column label.

This fixes titles of elements generated by the "mask" extension,
which only sets labels via overrides.

Resolves: #104035
Releases: main, 12.4
Change-Id: I1fa43a4cf0dbc910a8d2eea9b868aaf1cdbead0b
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/84687


Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 4b89b371
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment