Project

General

Profile

Actions

Bug #98682

closed

Type Error in Wizard AddController

Added by Anja Leichsenring about 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2022-10-21
Due date:
% Done:

100%

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

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

Actions #1

Updated by Gerrit Code Review about 2 years ago

  • Status changed from New to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/76209

Actions #2

Updated by Anja Leichsenring about 2 years ago

  • Subject changed from Type Error in AddWizard to Type Error in Wizard AddController
Actions #3

Updated by Anja Leichsenring about 2 years ago

  • Description updated (diff)
Actions #4

Updated by Gerrit Code Review about 2 years ago

Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/76175

Actions #5

Updated by Anja Leichsenring about 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #6

Updated by Benni Mack almost 2 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF