Download & Extend

Filefield deleting files from old revisions

Project:FileField
Version:6.x-3.10
Component:Code
Category:support request
Priority:major
Assigned:Unassigned
Status:active

Issue Summary

For some reason this started happening a month ago and I can't figure out why. When I create a new node revision and change an image, it used to keep the old file with the revision record. This made it easier to revert. Now when I add a new revision, it deletes the image and the record from the previous revision. Is there any way to stop this?

Comments

#1

FileField shouldn't be doing this. Every new revision should be getting its own file usage records and previous revisions should keep their own files. There was a recent bug fix at #1210710: File deletion not handling deletion of previous revisions correctly, but that had the problem that files *weren't* being deleted, rather than being deleted unnecessarily.