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.
It took me a long time to pinpoint this issue, but I finally narrowed it down to Filefield Paths.
If the Filefield Paths module is enabled (even if it is not being used), then clicking the "Remove" button while editing a node deletes the actual file off the server, even if other nodes are still referencing it. I tried both versions of Filefield Paths (6.x-1.2 and 6.x-1.x-dev) and got the same result. I only tested it with images.
Comments
Comment #1
quicksketchShould probably be in the FileField Paths queue, right?
Comment #2
Deciphered CreditAttribution: Deciphered commentedHmm, very curious. Not something that I would expect to be related to FileField Paths, but I will certainly look into the issue and see what I can find.
Comment #3
Deciphered CreditAttribution: Deciphered commentedI can definitely confirm that this is the case, not sure exactly why it's happening through, so will look further into it.
Comment #4
Deciphered CreditAttribution: Deciphered commentedJust a quick update, I've tracked down the course of the issue and am now working on a fix.
Comment #5
Deciphered CreditAttribution: Deciphered commentedFixed and committed to DRUPAL-5 and DRUPAL-6--1.
Cheers,
Deciphered.
Comment #6
Deciphered CreditAttribution: Deciphered commented