#76536FormDataProviders do not handle placeholder values for select, group, inline correctly
Description
There are currently FormDataProviders that are related to placeholder handling:
1.) \TYPO3\CMS\Backend\Form\FormDataProvider\TcaColumnsProcessPlaceholders
here the first check in the loop is that only input and text fields are handled.
Here also select, group and inline should be allowed as those are the the values handled in
getPlaceholderValue of \TYPO3\CMS\Backend\Form\FormDataProvider\TcaInputPlaceholders
2.) \TYPO3\CMS\Backend\Form\FormDataProvider\TcaInputPlaceholders
the same issue in the loop regarding allowed types check as in
\TYPO3\CMS\Backend\Form\FormDataProvider\TcaColumnsProcessPlaceholders
3.) \TYPO3\CMS\Backend\Form\FormDataProvider\TcaInputPlaceholders::getPlaceholderValue method has a bug:
It always casts the return value to a string.
However, that should only be done if we are at recursionLevel === 0
as otherwise the code before the return value:
if ($recursionLevel === 0 && is_array($value)) {
$value = implode(', ', $value);
}
will not do anything if we needed to call the method more than once (recursionLevel > 0)
Reviews 3
History 36
-
Christian Kuhn changed removed the assignee <span data-processor="relativetime" data-value="2018-01-12T23:51:58+00:00" > 01/12/18, 23:51 </span>
-
Gerrit Code Review pushed patch set 1 for main to change 95124 status
NewUnder Review <span data-processor="relativetime" data-value="2026-08-06T12:36:37+00:00" > 08/06/26, 12:36 </span> -
Gerrit Code Review pushed patch set 1 for 14.3 to change 95234 <span data-processor="relativetime" data-value="2026-08-10T22:46:19+00:00" > 08/10/26, 22:46 </span>
-
Gerrit Code Review pushed patch set 1 for 13.4 to change 95235 <span data-processor="relativetime" data-value="2026-08-10T23:14:09+00:00" > 08/10/26, 23:14 </span>
-
Benjamin Kott commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2026-08-10T23:30:12+00:00" > 08/10/26, 23:30 </span> -
Benni Mack changed status
ResolvedClosed <span data-processor="relativetime" data-value="2026-08-11T08:46:34+00:00" > 08/11/26, 08:46 </span>
Applied in changeset commit:e0b753247a55c0e0849d9bac30b72a3b4014388b.