Bug #99446
closedWrong language in localized tca placeholder
100%
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
Updated by Gerrit Code Review almost 2 years ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77244
Updated by Gerrit Code Review almost 2 years ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77244
Updated by Gerrit Code Review almost 2 years ago
Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77265
Updated by Alexander Vogt almost 2 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 9002eb227395564bd03d359f47b724efeccc1c0e.