Actions
Bug #98387
closedPHP Warning: Undefined array key "XYZ" in File line 184
Start date:
2022-09-21
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
11
PHP Version:
8.1
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Update none existing properties of a file.
There is a missing check if key exists.
foreach ($properties as $key => $value) { if ($this->properties[$key] !== $value) { if (!in_array($key, $this->updatedProperties)) { $this->updatedProperties[] = $key; } $this->properties[$key] = $value; } }
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/+/75799
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/+/75814
Updated by Daniel Siepmann about 2 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 37a3d6a3d70a7773beb6c454fdfc882ba6dcb47d.
Updated by Oliver Bartsch over 1 year ago
- Related to Bug #97636: Warning when trying to update not existing file properties with File::updateProperties added
Updated by Oliver Bartsch over 1 year ago
- Related to deleted (Bug #97636: Warning when trying to update not existing file properties with File::updateProperties)
Updated by Oliver Bartsch over 1 year ago
- Has duplicate Bug #97636: Warning when trying to update not existing file properties with File::updateProperties added
Actions