Project

General

Profile

Actions

Bug #80256

closed

ProcessedFile::needsReprocessing fails with new file

Added by Christian Weiske over 7 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2017-03-13
Due date:
% Done:

0%

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

Description

When using needsReprocessing on a new ProcessedFile object that has not yet been saved in the database, a PHP warning is thrown:

#1: PHP Warning: array_key_exists() expects parameter 2 to be array, null given in
typo3_src/typo3/sysext/core/Classes/Resource/ProcessedFile.php line 480

This should not happen.

Happens on TYPO3 7.6.15.

Actions

Also available in: Atom PDF