Attached images gets cleared during scheduled publishing

thejaba - October 14, 2009 - 08:51
Project:Scheduler
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:by design
Issue tags:image
Description

Hello,

I have a blog here running with Drupal 6.14.

The screenshots in my blog are set in place with Image module, so I choose the image I want from a drop-down menu or upload a new one during creating my new content.

For some reason publishing new nodes with Scheduler module resets attached images. Everything seems to be fine when a node is still unpublished. But when the node gets published via cron, the content and the node will be visible, but the attached image information will be reset and I'll have to set it in place again manually.

No warnings or errors visible in admin interface or lighttpd error log.

Any ideas? I've tried both the stable version of Scheduler and the dev version.

#1

Eric Schaefer - October 14, 2009 - 09:26
Status:active» by design

All scheduler is doing is triggering node_publish_action and node_save_action. If any module specific node data gets lost in this process then the module does something "wrong" in hook_nodeapi() (like not processing all relevant $ops). Scheduler does not load or save any data specific to other modules, it just triggers actions. It does not know about this data and shouldn't know.

Please file an issue for the Image module and refer back to this answer. They will know what to do.

BTW: Nice blog!

 
 

Drupal is a registered trademark of Dries Buytaert.