Closed (fixed)
Project:
Revision Deletion
Version:
5.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Nov 2008 at 15:34 UTC
Updated:
2 Jan 2009 at 04:46 UTC
I don't know if this bug is related to revision deletion or image cache, anyway when this module removes revisions, images disappear from the node but image's text and alt remains.
Comments
Comment #1
Gman commentedIs the actual image removed, or just the generated imagecache version (cropped/resized...)? Or did you mean the imagefield module that attached images as a CCK field?
If an imagefield image is being deleted, then it might be an imagefield issue not updated the revision correctly of the field.
More description is needed to tackle this issue.
Comment #2
ginc commentedi'll look into it more deeply asap
Comment #3
ginc commentedwell it is the actual image removed, then imagecache tries to generate its cropped/resized version and it can't so it loges such an error:
Source(files/pathtooriginalfile/filename.jpg) not found.
Comment #4
ginc commentedimagecache CCK field seems to remain untouched
Comment #5
Gman commentedSorry I should have look at the imagefield, http://drupal.org/project/imagefield code after you reported this. It seems that some versions of imagefield do not correctly implement the 'delete revision' case. But version 5.x-2.1 http://drupal.org/node/257734, does. Could you using that version and seeing if it clears up this issue.
If so then I will file a ticket with that project to update their code on the 5.x-1 and 6.x branches.
-Greg
Comment #6
ginc commentedthe site having issue is running with ImageField 5.x-2.1 and ImageCache 5.x-1.6
so the bug must be there still, you shoud be right about the bug in ImageField.
i noticed another problem with ImageField when it handles revisions:
say we have a node with picture, we update it and make a new revision, then we unpublish it, now if we publish it again ImageField shows another picture from another node instead of the original pic!
Comment #7
Gman commentedI am closing this issues since it appears to be an imageField issue having to do with revisions.