Closed (won't fix)
Project:
Revision Deletion
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Feb 2009 at 10:35 UTC
Updated:
31 Aug 2009 at 18:37 UTC
I ran this on my site and I lost a whole load of images that had been attached to nodes with the imagefield module. The images were still attached to the latest revision of the nodes and so they should not have been deleted. Marking as critical as this could do real damage. Luckily I did it on a copy of my site!
Comments
Comment #1
gpk commentedWhat happens if you *manually* delete a revision that has an imagefield? Does the image still get deleted or not?
The reason I ask is that the revision deletion code is very simple, and the problem may actually be arising somewhere else (e.g. in core, or in imagefield.module).
The relevant code is:
And the code used by core in http://api.drupal.org/api/function/node_revision_delete_confirm_submit to do the business is identical.
Comment #2
nancydruNo further update, so can't be too critical.
Comment #3
nancydruNo further update.