Closed (fixed)
Project:
Drupal core
Version:
4.7.x-dev
Component:
node system
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
1 Dec 2006 at 09:29 UTC
Updated:
4 Jan 2007 at 19:30 UTC
Jump to comment: Most recent file
For some reason the node preview is not a #prefix . I do not know the reason so I asked Adrian. He endorses the #prefix solution. Anyone has the shortest idea why we have not used #prefix last fall :) ?
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | node_60.patch | 1.3 KB | chx |
| node_preview_should_be_prefix.patch.txt | 1.05 KB | chx |
Comments
Comment #1
chx commentedHaving read the relevant CVS logs, now I have an idea -- relate to my January post about how form API conversion commenced: we simply made an error here. This line comes from the first form API patch (400K) and we were inexperienced in form API. Unless this change breaks something, it's how it should be.
Comment #2
heine commentedAnd brings node preview in line with node views on comment submission. I've not observed breakage during testing.
Comment #3
heine commentedLet me revoke this. A view source shows that node previews are still rendered within the form tags.
Comment #4
heine commentedSet this back to 'needs review' and filed a seperate bug report http://drupal.org/node/100787.
Comment #5
heine commentedCombined with the experimental patch in http://drupal.org/node/100787#comment-161931, the patch in #1 does what it is supposed to do. So once we fix issue #100787, this one should be RTBC.
Comment #6
chx commentedNow the other issue is solved , when that gets in this needs to get in as well. Note: less code we have.
Comment #7
dries commentedCommitted to CVS HEAD.
I think this needs to be backported to Drupal 4.7 so I'm changing the version.
Comment #8
killes@www.drop.org commentedchx will re-roll later
Comment #9
chx commentedComment #10
killes@www.drop.org commentedapplied
Comment #11
(not verified) commented