Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
Grilloparlante CreditAttribution: Grilloparlante commentedI investigated...it happens only when I publish a book page
Comment #2
quicksketchCould 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.
Comment #3
Grilloparlante CreditAttribution: Grilloparlante commentedYou 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.
Comment #4
quicksketchLet's move this over to Scheduler module then, perhaps they can shed some light on the issue.
Comment #5
Eric-Alexander Schaefer CreditAttribution: Eric-Alexander Schaefer commented*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
inhook_nodeapi()
.Forwarding to the book module. Let's hear their opinion...