Voting starts in March for the Drupal Association Board election.
CCK version 6.x-2.2;
FileField version 6.x-3.0-rc1;
ImageField version 6.x-3.0-rc1;
Apache under Windows runs with unlimited permissions.
I dunno whether this is an ImageField problem or some other module problem (FileField?) or a configuration issue. I hope you'll help me anyway. ^_^
How to reproduce:
1) Create a node with an imagefield, upload an image.
2) Edit the node, select another image to upload.
3) Now both images are uploaded to server. You can see them both when viewing node revisions.
4) Delete the node.
The later file gets deleted from server. The earlier one remains and, i think, becomes an orphan, a dead weight wasting server disk space.
What i suppose should happen:
All files associated with the node should be deleted.
I've searched for filename in my DB and found that the orphaned file is mentioned in the "files" table. But its "fid" is not mentioned in the "content_field_" table (whereas other files' fids are mentioned there).
Please help locate the problem's source and solve it. If it's necessary, i can repost the issue into another module's issue queue.
PS I also use the Image crop 6.x-1.0-beta3 module, but i'm sure that it's not the one to blame 'cause files generated by Image crop follow the same pattern: get deleted if they are from the latest revision and remain if they are from a previous revision.