Closed (fixed)
Project:
Drupal core
Version:
x.y.z
Component:
page.module
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
27 Nov 2005 at 08:16 UTC
Updated:
25 Jan 2006 at 18:19 UTC
Jump to comment: Most recent file
Hi,
When a new revision is created, the log message is currently not being saved as the wrong field is being accessed. Simple patch attached.
Cheers
Karthik.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | page_2.patch | 597 bytes | Zen |
| #1 | page_1.patch | 534 bytes | Zen |
| node_43.patch | 732 bytes | Zen |
Comments
Comment #1
Zen commentedAs requested, patch now applies to page.module rather than node.module. Though we now have ['log']['log'] :P
-K
Comment #2
cjm commentedHi Zen,
I've tested the patch against drupal-cvs and it does allow for correct saving and display of log messages in page revisions. However, a couple of issues I noticed (this is my first post to drupal issues, so feel free to shoot me down if I'm wrong):
- this patch was not taken against the drupal tree / cvs
- story and page module implementations of node_form are now inconsistant (ie,
$form['log'])Also another issue (requiring a seperate issue report?), is that the previous log message is shown by default when editing a story/page. This seems to go against the natural of logs, espeically considering that revisions are optional at each edit).
Comment #3
Zen commentedHi cjm,
Thanks :) I'd noticed this happening in the page and book modules, but not in the story module.
New issues created:
book.module
story.module
The page.module patch attached to this post is identical to the previous one, except for a formatting fix. And both have been taken against the current HEAD.
Also, please open a separate issue for the log message bug you mentioned.
Cheers
-K
Comment #4
Zen commentedThis doesn't apply any longer. Use 39114.
Marking as closed.
-K