[we had this bug before - see http://mail.zind.net/pipermail/drupal-devel/2001-September/001483.html - so i'm recycling the old bug report here]

SYMPTOMS: when you preview a node (while submitting or editing), author and links are rendered incorrectly (author is shown as "anonymous", links - "authors blog", "comments" etc. - are missing).

REASON and FIX: not sure, but i guess it is similar to the old fix - see top.

Comments

Dries’s picture

I think I fixed it. It was a typo: $edit["uid"] should have read $node->uid.

Anonymous’s picture

Marking as fixed. Ax: if this fixed it please close the bug.

ax’s picture

this fixes the "Submitted by anonymous" issue - but the missing link(s) remain. i don't know if /you/ consider it a bug that the preview shows different (less) links than the actual, finished node (in the example of a blog: preview shows only "update this blog"; actual node - node.php?id=X - shows "update this blog" and "add new comment") - i /do/ consider it a bug, so i leave this open.

note: other node types may have more, different and more "important" links than blogs.

feel free to close this bug if you dont agree. or should this be made a separate report?

Anonymous’s picture

Priority: Minor » Normal

This works as intended as Drupal does not check if the node should be commented until it is submitted. This could be concidered a bug so lets leave it open as a reminder.

Anonymous’s picture

Closed. This issue needs some work, but the fix is now duplicated in a more related bug report-