Project

General

Profile

Actions

Bug #89475

closed

formEngine: overwriting field.label for inline records not possible

Added by Josef Glatz over 4 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2019-10-22
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
pending-close
Complexity:
Is Regression:
Yes
Sprint Focus:

Description

Problem

in TYPO3 9.5 overwriting a label of a column of an inline record isn't possible anymore.

The following TCA/Overrides configuration examples are working until TYPO3 8.7 LTS and are broken in 9.5 LTS

Override per $GLOBALS['TCA']['tt_content']['types']['typeName']['columnsOverrides']['fieldName']['config']['overrideChildTca']['columns']['fieldName']['label'] = 'New Label';

@$GLOBALS['TCA']['tt_content']['types']['myCustomCType'] => [
    ['columnsOverrides']['image']['config']['overrideChildTca'] => [
        ['columns'] => [
            ['description']['label'] = 'New Label for sys_file_reference field "description"';
        ],
    ],
];

(The above example works in TYPO3 8.7.latest)

Override per $GLOBALS['TCA']['tt_content']['types']['typeName']['columnsOverrides']['fieldName']['config']['overrideChildTca']['types']['typeName']['columnsOverrides']['fieldName']['label'] = 'New Label';

@$GLOBALS['TCA']['tt_content']['types']['myCustomCType'] => [
    ['columnsOverrides']['image']['config']['overrideChildTca'] => [
        ['types'] => [
            ['0']['columnsOverrides']['description']['label'] = 'New Label for sys_file_reference field "description" for type 0 (default)';
        ],
    ],
];

(The above example works in TYPO3 8.7.latest)

Actions

Also available in: Atom PDF