Remove Image Deletes the File Regardless of Other References
jared12 - June 18, 2009 - 01:44
| Project: | FileField Paths |
| Version: | 6.x-1.x-dev |
| Component: | Miscellaneous |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
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.

#1
Should probably be in the FileField Paths queue, right?
#2
Hmm, 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.
#3
I can definitely confirm that this is the case, not sure exactly why it's happening through, so will look further into it.
#4
Just a quick update, I've tracked down the course of the issue and am now working on a fix.
#5
Fixed and committed to DRUPAL-5 and DRUPAL-6--1.
Cheers,
Deciphered.
#6