Project

General

Profile

Actions

Bug #95601

closed

Exception during UpdateValueOnFieldChange initialization

Added by Vladimir Cherednichenko over 2 years ago. Updated over 2 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 #1

Updated by Georg Ringer over 2 years ago

  • Related to Bug #95496: TYPO3\CMS\Backend\Form\Behavior\UpdateValueOnFieldChange::__construct() must be of the type string, int given added
Actions #2

Updated by Georg Ringer over 2 years ago

  • Status changed from New to Needs Feedback

this has been fixed with #95496, see https://review.typo3.org/c/Packages/TYPO3.CMS/+/71467, please update to 11.5.1

Actions #3

Updated by Georg Ringer over 2 years ago

  • Status changed from Needs Feedback to Closed

no feedback yet, issue fixed, so closing this one

Actions

Also available in: Atom PDF