Actions
Bug #98406
closedPHP Warning: Undefined array key X in AbstractItemProvider
Start date:
2022-09-22
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
11
PHP Version:
8.1
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
There are three some cases where keys are accessed without checking if they exist.
$rowFieldValue = $rowFieldValue[0]['uid'] ?? $rowFieldValue[0];
$label = $languageService->sL(trim($item[0]));
$value = strlen((string)$item[1]) > 0 ? $item[1] : '';
Updated by Daniel Siepmann about 2 years ago
- Related to Task #98321: Address "undefined array key" issues for PHP 8 added
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/+/75842
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/+/75820
Updated by Daniel Siepmann about 2 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset b0b2a1b302aefe610c3743c29f039962683e8f81.
Actions