When a user creates a node and they enter a "Log message" an select "preview" the "log" variable is posted to the preview page however it isn't diplayed in the field. Therefore if they then post this new node it no longe has this "log message".
I haven't had time to look at the code but it's on my list once I get time.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | log_disappear_when_previewing_node_2.patch | 542 bytes | Leonth |
| #1 | log_disappear_when_previewing_node.patch | 521 bytes | Leonth |
Comments
Comment #1
Leonth commentedGot exactly the same problem with 6.2 and 6.3 (actually I found it in 6.2 and I hoped it got fixed in 6.3... seems its isn't). Here's the patch to fix the bug. (it's just one line...)
Comment #2
Leonth commentedThe last patch has a problem - if a node is edited for the first time, the log message is set from the latest revision. I don't know if this is what drupal wants - anyway, with this new patch the log message is reset when we're not doing preview. Please decide which behavior is more appropriate for drupal...
Comment #3
gpk commentedMarking as duplicate of #385602: Log message is lost on node preview since the latter has a more recent patch.