Issue Bug Closed

#80256ProcessedFile::needsReprocessing fails with new file

Christian Weiske 03/13/17, 11:10 updated 06/07/19, 16:00

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.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

History 2

  1. Susanne Moog commented and changed status New Needs Feedback 03/06/19, 18:02

    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.

  2. Riccardo De Contardi commented and changed status Needs Feedback Closed 06/07/19, 16:00

    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