This is because the code in that hook should only run when editing an existing node, not for new nodes.

CommentFileSizeAuthor
#1 autosave-2201317-1-hook_node_update.patch522 bytesczigor
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

czigor’s picture

Status: Active » Needs review
FileSize
522 bytes
czigor’s picture

Status: Needs review » Fixed

  • czigor committed 3c6c81e on 7.x-2.x
    Issue #2201317: autosave_node_presave() should be autosave_node_update()
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.