Used by another application error

Created on 13 September 2024, 2 months ago

In version 3.1.1 of the IMCE module with Drupal 10.x, an issue occurs when attempting to delete a file through the IMCE browser. Even after the file has been removed from a node, the following error is encountered: "file is in use in another application."

Upon checking the database, the file entry remains in the file_usage and file_managed tables, despite being detached from the node and no longer attached to any other nodes.

Expected Behavior: When a file is removed from a node and is not being used elsewhere, its entry should be cleared from the file_usage and file_managed tables, allowing the file to be deleted without errors.

This issue prevents file deletion through the IMCE browser and causes unnecessary file reference retention in the database.

🐛 Bug report
Status

Active

Version

3.1

Component

Code

Created by

🇮🇳India renukakulkarni

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024