Issue Bug Closed

#95601Exception during UpdateValueOnFieldChange initialization

Vladimir Cherednichenko 10/12/21, 15:17 updated 10/27/21, 07:50

Description

There is next error occured:

Argument 2 passed to TYPO3\CMS\Backend\Form\Behavior\UpdateValueOnFieldChange::__construct() must be of the type string, int given, called in /var/www/html/public/typo3/sysext/backend/Classes/Controller/FormFlexAjaxController.php on line 133

Place:

$formData['parameterArray']['fieldChangeFunc']['TBE_EDITOR_fieldChanged'] = new UpdateValueOnFieldChange(
            $tableName,
            $formData['databaseRow']['uid'],
            $fieldName,
            $formData['parameterArray']['itemFormElName']
        );

Error reproduced when $formData[‘databaseRow’][‘uid’] has int type.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.