If I publish a node with attachments all is ok.
But if I schedule the publishing - and preview is ok - the result is a node with no attachments.

Scheduler version is 6.x-1.8

Comments

Grilloparlante’s picture

I investigated...it happens only when I publish a book page

quicksketch’s picture

Could you clarify the exact process you did that caused this problem? From your verbiage ("attachments"), this make me think that you're using Upload module and not FileField at all.

Grilloparlante’s picture

You are right, I removed some modules end file fields.
The problem seems beeing in upload module when I publish a story and I add it to a book.

quicksketch’s picture

Project: FileField » Scheduler
Version: 6.x-3.9 » 6.x-1.8
Priority: Critical » Normal

Let's move this over to Scheduler module then, perhaps they can shed some light on the issue.

Eric-Alexander Schaefer’s picture

Project: Scheduler » Drupal core
Version: 6.x-1.8 » 6.x-dev
Component: Code » book.module

*sigh* This is happening all the time. This is usually the fault of a module which does not honor the op 'load' in the nodeapi-hook. Here is what scheduler is doing on publishing:

- load the node (node_load())
- set the publish date (the 'changed' date and maybe the 'created' date if that option is active)
- activate the creation of a new node revision, if that option is active
- fire 'node_publish_action' and 'node_save_action' actions

That's it. Something like uploading files or adding book pages is the responsibility of the respective modules. Sometimes they assume a node is only published via the node edit form. That's why they miss to implement all of the possible values of $op in hook_nodeapi().

Forwarding to the book module. Let's hear their opinion...

Status: Active » Closed (outdated)

Automatically closed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.