Project

General

Profile

Actions

Bug #95601

closed

Exception during UpdateValueOnFieldChange initialization

Added by Vladimir Cherednichenko about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2021-10-12
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
7.4
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #95496: TYPO3\CMS\Backend\Form\Behavior\UpdateValueOnFieldChange::__construct() must be of the type string, int givenClosed2021-10-06

Actions
Actions

Also available in: Atom PDF