Issue Bug Closed

#67554Deleting Files which are "missing" is not possible

Steffen Ritter 06/17/15, 13:53 updated 03/07/19, 09:16

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.

Reviews 0

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