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

Gman’s picture

Is 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.

ginc’s picture

Status: Active » Postponed (maintainer needs more info)

i'll look into it more deeply asap

ginc’s picture

well 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.

ginc’s picture

imagecache CCK field seems to remain untouched

Gman’s picture

Sorry 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

ginc’s picture

the 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!

Gman’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

I am closing this issues since it appears to be an imageField issue having to do with revisions.