Project

General

Profile

Actions

Bug #75756

closed

Fatal error occurs when sys_file_processedfile table is cleared but processed file is still present

Added by Frans Saris over 8 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
Start date:
2016-04-18
Due date:
% Done:

100%

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

Description

When the record from sys_file_processedfile is deleted but the processed file itself still exitst you run into this fatal error:

#1: PHP Catchable Fatal Error: Argument 1 passed to TYPO3\CMS\Core\Resource\ResourceStorage::getFileForLocalProcessing() must implement interface TYPO3\CMS\Core\Resource\FileInterface, null given, called in typo3/cms/typo3/sysext/core/Classes/Resource/Processing/LocalImageProcessor.php on line 118 and defined in typo3/cms/typo3/sysext/core/Classes/Resource/ResourceStorage.php line 1337 

TYPO3\CMS\Core\Error\Exception thrown in file
typo3/cms/typo3/sysext/core/Classes/Error/ErrorHandler.php in line 111.

This was introduced with https://review.typo3.org/#/c/46905


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #67126: Make sure ProcessedFile and LocalImageProcessor use correct FAL APIClosed2015-05-25

Actions
Actions

Also available in: Atom PDF