Actions
Bug #95496
closedTYPO3\CMS\Backend\Form\Behavior\UpdateValueOnFieldChange::__construct() must be of the type string, int given
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2021-10-06
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
11
PHP Version:
7.4
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
The constructor of TYPO3\CMS\Backend\Form\Behavior\UpdateValueOnFieldChange expects the $identifier to be a string.
Unfortunatly $identifier is (can be )an integer when called from TYPO3\CMS\Backend\Controller\FormFlexAjaxController.
See https://github.com/TYPO3/typo3/blob/master/typo3/sysext/backend/Classes/Controller/FormFlexAjaxController.php#L131
Quick and dirty fix would be just cast it to a string before passing it.
Actions