Project

General

Profile

Actions

Bug #101606

closed

Trying to access array offset on value of type bool in DataHandler.php line 4644

Added by Thomas Hohn 9 months ago. Updated 9 months ago.

Status:
Resolved
Priority:
Should have
Assignee:
Category:
DataHandler aka TCEmain
Target version:
Start date:
2023-08-07
Due date:
% Done:

100%

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

Description

Trying to access array offset on value of type bool in DataHandler.php line 4644.

The call to

$sortInfo = $this->getSortNumber($table, $uid, $destPid);

can result in other values than an array. So the call to
$destPid = $sortInfo['pid'];

can fail with a type error

Actions #1

Updated by Gerrit Code Review 9 months 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/+/80426

Actions #2

Updated by Gerrit Code Review 9 months 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/+/80430

Actions #3

Updated by Gerrit Code Review 9 months ago

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

Actions #4

Updated by Anonymous 9 months ago

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

Also available in: Atom PDF