Review main Merged

27123[BUGFIX] Delete file with missing processed file raises alert

Fabien Udriot CR +2 V +2 Easy +7 −3 updated 01/30/14, 22:23

Commit message

When a BE User deletes a file in the file module all file references
as well as processed files are removed, too. If then aprocessed files
is missing for some reason an alert is displayed in the backend module:

Could not delete file "foo.jpg". Write-permission problem?

The patch fixes the situation by adding a check whether before deleting.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 1