- Issue created by @renukakulkarni
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.
Active
3.1
Code