Actions
Bug #99446
closedWrong language in localized tca placeholder
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2023-01-03
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
TCA placeholder values are not localized properly (https://docs.typo3.org/m/typo3/reference-tca/11.5/en-us/ColumnsConfig/CommonProperties/Placeholder.html). This works in TYPO3 <= 10 but is broken in TYPO3 11.
Steps to reproduce:- Upload FAL file and localize metadata
- Create content element with reference to this file and localize it
- Check placeholder value
The issue seems to be located in TcaInputPlaceholders.php. The language is passed as integer and not as array. It works if i remove the [0] in https://github.com/TYPO3/typo3/blob/v11.5.21/typo3/sysext/backend/Classes/Form/FormDataProvider/TcaInputPlaceholders.php#L143.
Files
Actions