When the forward.module is activated it causes all 'preview' buttons on node forms to act as if they are submitting the node - but this then causes the node to be added to the DBase with bad details:

* UID = 0
* no node type
* no title

This then fills the database with empty nodes and frustrates users as their content goes missing upon Previewing it!!

CommentFileSizeAuthor
#1 brokenpreview.patch444 bytesbudda

Comments

budda’s picture

StatusFileSize
new444 bytes

Problem was in the hook_nodeapi() function, it didn't check if the node was in preview state or not.

Patch attached.

seanr’s picture

Status: Active » Fixed

Fixed, thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)