Closed (fixed)
Project:
Drupal core
Version:
x.y.z
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Dec 2001 at 18:17 UTC
Updated:
24 May 2012 at 09:32 UTC
[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
Comment #1
dries commentedI think I fixed it. It was a typo: $edit["uid"] should have read $node->uid.
Comment #2
(not verified) commentedMarking as fixed. Ax: if this fixed it please close the bug.
Comment #3
ax commentedthis 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?
Comment #4
(not verified) commentedThis 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.
Comment #5
(not verified) commentedClosed. This issue needs some work, but the fix is now duplicated in a more related bug report-