Issue Bug Closed

#108970Extbase backend error when using buttons in fluid

Tobias Jungmann 02/13/26, 07:35 updated 02/13/26, 08:02

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.