I'm trying to delete files via the /admin/content/file and I'm getting an error saying that the files are in use and cannot be deleted. I've already deleted the node that the files are attached to and also removed the media files from the node.

This is related to this issue: https://drupal.org/node/1240834

Has this issue been fixed? Is there a patch for this? This seems like a significant bug with either Media or core.

-Trevor

Comments

Dave Reid’s picture

Status: Active » Postponed (maintainer needs more info)

@ambientdrup: Which version of Media and File entity are you using? I know this was fixed in one of the unstable releases, but you filed this issue against unstable3, which is 4 versions old at this point.

ambientdrup’s picture

Media: 7.x-2.0-unstable3

File Entity: 7.x-2.0-unstable3

-Trevor

Dave Reid’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)

This has already been fixed in #1422296: Allow a file to be deleted forcefully in delete callbacks which is included in the 7.x-2.0-unstable4 release.

ambientdrup’s picture

Ok I'll try upgrading to the unstable4.

-Trevor

ambientdrup’s picture

Ok, unstable4 works and fixes the issue.

-Trevor