#108970Extbase backend error when using buttons in fluid
Description
Background: Backend module using extbase and fluid. In the template I have multiple Buttons.
The form viewhelper adds trusted properties for each button in that form like that {"name": "xy", ..., "0":1, "1":1, ...}.
This is also the case in v12. But in v14 extbase throws following error:
> TYPO3\CMS\Extbase\Mvc\Controller\Arguments::hasArgument(): Argument #1 ($argumentName) must be of type string, int given, called in /var/www/dsl/vendor/typo3/cms-extbase/Classes/Mvc/Controller/MvcPropertyMappingConfigurationService.php on line 143
The method now only allows strings. This has been done with https://review.typo3.org/c/Packages/TYPO3.CMS/+/92372
As a workaround I use the name attribute in buttons but that’s not possible when using 3rd-party stuff.
In my opinion buttons or inputs shouldn’t be added to __trustedProperties if no name is set.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Related issues 1
History 3
-
Garvin Hicking changed Related to #108666 <span data-processor="relativetime" data-value="2026-02-13T07:47:33+00:00" > 02/13/26, 07:47 </span>
-
Torben Hansen commented and changed status
NewNeeds Feedback <span data-processor="relativetime" data-value="2026-02-13T07:59:13+00:00" > 02/13/26, 07:59 </span> -
Torben Hansen commented and changed status
Needs FeedbackClosed <span data-processor="relativetime" data-value="2026-02-13T08:02:49+00:00" > 02/13/26, 08:02 </span>Never mind, this has been resolved with #108727. Please apply the patch provided in #108727.
I’m closing this issue now.
Please provide a code example on how to reproduce the described problem.