Closed (fixed)
Project:
FileField
Version:
5.x-2.3
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Oct 2008 at 10:18 UTC
Updated:
21 Mar 2011 at 19:25 UTC
Jump to comment: Most recent
Comments
Comment #1
Fixdit commentedSounds similar to the issue here: http://drupal.org/node/389526
Comment #2
quicksketchYep, identical in fact. The other issue has been marked duplicate.
Comment #3
quicksketchMarked #362620: cck table not updated on delete as duplicate.
Comment #4
Anonymous (not verified) commentedsubscribing
edit: what is already working for me is the deletion of the files when deleting the corresponding node.
Comment #5
quicksketchClosing Drupal 5 issues, this will likely never be corrected.
Comment #6
Russell McOrmond commentedI am running Drupal 6.20, and the (as of this moment latest) FileField and I observe the same issue. I've looked through multiple existing bug reports, many of which are marked as duplicates or were closed due to inactivity.
This is a current issue AFAIK.
I can also edit an existing page, mark a file to be deleted. After saving the page the file isn't listed in the node any more, but the file remains on disk. I have ran cron.php to see if that is the issue, but the file doesn't get deleted via the cron.
Is this an issue that can be looked at again? One of the advantages of having files attached to nodes is it allows our non-shell web team to manage the files themselves. If we need to clean out old files by hand it greatly reduces the utility of the FileField module (now in D7 core).
Comment #7
quicksketchPlease file a new issue with full instructions to reproduce. I'm almost positive this is not an issue, as we have automated testing to ensure that files are deleted properly.
Comment #8
Russell McOrmond commentedQuick note in case anyone else finds this: The issue was that after deleting the file, it was still in a past revision. Unless the revision is deleted, the file isn't deleted from disk. This is as it should be, but wasn't obvious to me at first.