#98682Type Error in Wizard AddController
Description
Cannot assign null to property TYPO3\CMS\Backend\Controller\Wizard\AddController::$returnEditConf of type string
in /var/www/html/typo3/sysext/backend/Classes/Controller/Wizard/AddController.php line 201
$parsedBody = $request->getParsedBody();
$queryParams = $request->getQueryParams();
// Init GPvars:
$this->P = $parsedBody[‘P’] ?? $queryParams[‘P’] ?? [];
*$this->returnEditConf = $parsedBody[‘returnEditConf’] ?? $queryParams[‘returnEditConf’] ?? null;*
// Get this record
$record = BackendUtility::getRecord($this->P[‘table’], $this->P[‘uid’]);
// Set table:
$this->table = $this->P[‘params’][‘table’];
How to reproduce: use any AddRecord wizard, e.g. filemount in BEUser or styleguide -> elements_group -> group_db_1
Reviews 2
History 46
-
Gerrit Code Review pushed patch set 1 for main to change 76209 status
NewUnder Review 10/21/22, 08:09 -
Anja Leichsenring changed subject
Type Error in AddWizardType Error in Wizard AddController 10/21/22, 08:10 -
Anja Leichsenring changed description 10/21/22, 08:10
-
Gerrit Code Review pushed patch set 1 for 11.5 to change 76175 10/21/22, 08:33
-
Anja Leichsenring commented and changed status
Under ReviewResolved done0 %100 % 10/21/22, 08:35 -
Benni Mack changed status
ResolvedClosed 12/06/22, 21:52
Applied in changeset commit:c89231d5e9a1b21376c2b914bebb5034f64c2abf.