Actions
Bug #89475
closedformEngine: overwriting field.label for inline records not possible
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)
Updated by Josef Glatz about 5 years ago
- Subject changed from formEngine overwriting field.label for inline records not possible to formEngine: overwriting field.label for inline records not possible
Updated by Nikita Hovratov over 4 years ago
In my tests the first one works on both versions and current v10. The second one doesn't work on either versions. Is such a recursive columnsOverrides
even possible?
Updated by Oliver Hader almost 4 years ago
- Tags changed from columnsOverrides, tca, ctypes, overrideChildTca to pending-close
Can this issue be closed?
Updated by Philipp Kitzberger about 3 years ago
I've just tested both snippets and can confirm they both work with TYPO3 9.5.30
Updated by Oliver Hader almost 3 years ago
- Status changed from New to Closed
Closing this issue. Feel free to reopen in case the problem occurs again.
Actions