If a file upload was not successful due to any reason (i.e. bug) filemanager creates the file in the database anyway. When trying to edit a content with an non-existent file, the function filemanager_promote_working() produces a fatal error.

Attached patch fixes this bug by testing if a given file really exists.

CommentFileSizeAuthor
filemanager.filenotfound.patch499 bytessun

Comments

sun’s picture

Status: Needs review » Closed (won't fix)