Project

General

Profile

Actions

Bug #67554

closed

Deleting Files which are "missing" is not possible

Added by Steffen Ritter almost 9 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2015-06-17
Due date:
% Done:

0%

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

Description

once you issue a "getFile" which not physically existent anymore you will get a FileObject with "isMissing" true.
As soon as you try to delete that file Storage::deleteFile($object) there is an IO Exception thrown, because the missing flag is not evaluated.

Solution:
In terms the physical file already is missing, just emit the post-deletion signal so the records are cleaned up.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #67432: Deletion of file /typo3temp/_processed_/xy.jpg failed.Closed2015-06-13

Actions
Actions

Also available in: Atom PDF