Steps to reproduce:
1) From /admin/content/media, click "Add file" and add a media file.
2) Go to /admin/content/media, check the checkbox for the new file, within "Update options", make sure "Delete" is selected, and click "Update".
3) Click the "Delete" button on the confirmation form.

Expected behavior: A message saying the media file was successfully deleted.

Actual behavior: A message says the file is in-use and cannot be deleted (note, this is for a newly added file that has not yet been referenced from anywhere).

Patch coming momentarily...

CommentFileSizeAuthor
#1 media-fix_delete-858796-1.patch1.71 KBeffulgentsia

Comments

effulgentsia’s picture

Status: Active » Needs review
StatusFileSize
new1.71 KB

Comments in this patch explain the problem, the solution (hack), and the limitations of the solution.

effulgentsia’s picture

Status: Needs review » Fixed

Committed to CVS HEAD.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.