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

quicksketch’s picture

Project: FileField Sources » File (Field) Paths

Should probably be in the FileField Paths queue, right?

Deciphered’s picture

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.

Deciphered’s picture

I can definitely confirm that this is the case, not sure exactly why it's happening through, so will look further into it.

Deciphered’s picture

Just a quick update, I've tracked down the course of the issue and am now working on a fix.

Deciphered’s picture

Status: Active » Fixed

Fixed and committed to DRUPAL-5 and DRUPAL-6--1.

Cheers,
Deciphered.

Deciphered’s picture

Status: Fixed » Closed (fixed)