Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
After removing a file from a file field and deleting it in the file system it is still shown in the autocomplete search. This is especially bothering if you upload the file again, then you see both versions and don't know before selecting which is the existing file.
Comment | File | Size | Author |
---|---|---|---|
double_files.png | 8.49 KB | johnnny83 |
Comments
Comment #2
anonThis makes no sense to me.
If the files are removed used the normal drupal GUI then the DB entity should also be removed.
I guess you are doing something wrong when deleting the files.
Comment #3
johnnny83 CreditAttribution: johnnny83 commentedYou are really fast with closing issues, maybe you should wait for an answer before.
If you remove the file through the GUI it is still physically existent, so I have to delete it also directly in the file system.