Project

General

Profile

Actions

Bug #98412

closed

PHP Warning: Undefined array key "xyz" in ProcessedFile

Added by Daniel Siepmann over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
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

    public function getProperty($key)
    {
        // The uid always (!) has to come from this file and never the original file (see getOriginalFile() to get this)
        if ($this->isUnchanged() && $key !== 'uid') {
            return $this->originalFile->getProperty($key);
        }
        return $this->properties[$key];
    }


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Task #98321: Address "undefined array key" issues for PHP 8Closed2022-09-10

Actions
Has duplicate TYPO3 Core - Bug #98516: PHP Warning: Undefined array key "foobar" typo3_src-11.5.16/typo3/sysext/core/Classes/Resource/ProcessedFile.php line 491Closed2022-10-04

Actions
Actions #1

Updated by Daniel Siepmann over 1 year ago

  • Related to Task #98321: Address "undefined array key" issues for PHP 8 added
Actions #2

Updated by Gerrit Code Review over 1 year 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/+/75844

Actions #3

Updated by Gerrit Code Review over 1 year 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/+/75822

Actions #4

Updated by Daniel Siepmann over 1 year ago

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

Updated by Benni Mack over 1 year ago

  • Status changed from Resolved to Closed
Actions #6

Updated by Oliver Bartsch over 1 year ago

  • Has duplicate Bug #98516: PHP Warning: Undefined array key "foobar" typo3_src-11.5.16/typo3/sysext/core/Classes/Resource/ProcessedFile.php line 491 added
Actions

Also available in: Atom PDF