Issue Bug Closed

#89475formEngine: overwriting field.label for inline records not possible

Josef Glatz 10/22/19, 10:55 updated 01/10/22, 19:36

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.