Project

General

Profile

Actions

Bug #99446

closed

Wrong language in localized tca placeholder

Added by Alexander Vogt almost 2 years ago. Updated almost 2 years ago.

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:
  1. Upload FAL file and localize metadata
  2. Create content element with reference to this file and localize it
  3. 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

clipboard-202301030935-r0pa4.png (49.9 KB) clipboard-202301030935-r0pa4.png Alexander Vogt, 2023-01-03 08:35
Actions #1

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

Actions #2

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

Actions #3

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

Actions #4

Updated by Alexander Vogt almost 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Benni Mack almost 2 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF