Just started using Image Attach with Scheduler. I attach a Image to a node, but when the node publishes on schedule, the attached image is no longer attached. Been using Scheduler for months both on Drupal 5 and now 6 and have been very happy with it. Currently using 6.x-1.6.

Comments

jonathan1055’s picture

I have just replicated this problem. I am not using the latest scheduler (I'm still on 6.x-1.3) but I am using the latest image attach (6.x-1.0-beta3). Which version of Image are you using?

eric-alexander schaefer’s picture

Status: Active » Closed (works as designed)

To publish a node when it's due, scheduler calls node_load(), sets the publish status and issues node_publish_action and node_save_action. The image module must be doing something wrong in hook_nodeapi(). Scheduler does not touch the database directly, besides its own table. We have had this problem already with numerous other modules.

Please file an issue for the Image Attach module and point back to this issue for explanation of the problem.

jonathan1055’s picture

Eric is correct, this problem is not a fault in Scheduler. Raise an issue on the image project queue. I have done a bit of investigation and I think I have a fix for you.

Jonathan

qwerdox’s picture

@Jonathan1055, I'd be interested in that solution as well. Have raised the issue in the image_attach.

jonathan1055’s picture