Used by another application

Created on 19 September 2017, over 7 years ago
Updated 13 September 2024, 4 months ago

Hi everyone !

First thanks for your work with this great module.

Unfortunately, I have a problem. When I want to delete a file, I always have the message "Used by another application".
I have a content with a Background Image field. I first upload an image and save my content. It creates two record into file_usage table :

fid module type id count
2535 file node 750 1
2535 imce file 2535 1

Then, when I come back to my content edition to remove the image previously upload and assigned, and re-saved the content, there is always this two rows in database, not updated at all. I think my problem come from here. Am I right or wrong?

Have you an idea if this is an imce module bug or does it come from another place?

Note : If I have delete the first row above in database by hand, I can then delete my file.

Thanks a lot in advance for your help !

💬 Support request
Status

Fixed

Version

1.0

Component

Code

Created by

🇫🇷France gwlef

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇮🇳India renukakulkarni

    This issue is still present in version 3.1.1 of the module with Drupal 10.x. Even when the file is removed from the node, its entry is still present under files, and it gives the error 'used by another application.' Ideally, when the file is removed from the node and not used elsewhere, its entry should be deleted.

Production build 0.71.5 2024