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 #1

Updated by Susanne Moog over 5 years ago

  • Status changed from New to Needs Feedback

When does this happen for you? I could not reproduce this and from a quick look through the code the method should not be called before the file is persisted.

Actions #2

Updated by Riccardo De Contardi over 5 years ago

  • Status changed from Needs Feedback to Closed

No feedback since the last 90 days => closing this issue.

If you think that this is the wrong decision or experience the issue again and have more information about how to reproduce your problem, please reopen it or ping me.

Thank you and best regards

Actions

Also available in: Atom PDF