Posted by quicksketch on March 26, 2009 at 5:45am
2 followers
Jump to:
| Project: | FileField |
| Version: | 6.x-3.0-beta3 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | quicksketch |
| Status: | closed (fixed) |
Issue Summary
I'm currently working on a SimpleTest suite which has just revealed the first bug: Deleting a node that contains the same file in multiple revisions does not delete the file. This is because our field_file_references() function doesn't take into account deleting an entire node, it assumes a deletion results in exactly one less reference. When deleting a node with several revisions though, that node may be responsible for multiple references.
| Attachment | Size |
|---|---|
| filefield_delete_node.patch | 2 KB |
Comments
#1
Committed.
#2
Automatically closed -- issue fixed for 2 weeks with no activity.