Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
node system
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Aug 2008 at 20:45 UTC
Updated:
14 Jul 2012 at 19:18 UTC
Jump to comment: Most recent file
Comments
Comment #1
swentel commentedCan't really get my head on this. Attaching a screenshot. You see the preview div twice in the HTML. Maybe someone else knows what goes wrong here.
Comment #2
heine commentedhttp://drupal.org/node/252013
Removing the foreaches copying #prefix and #suffix is the cause; calls to drupal_render($form) in the form's theme function _also_ render the prefix (inside the form).
Comment #3
heine commentedBackground for the foreaches: http://drupal.org/node/100787. History repeating... :)
Comment #4
swentel commentedPatch adds the foreach again. #value is left out as said by Heine on irc. Please review, very annoying bug imo :)
Kudos to Heine!
Comment #5
swentel commented(just changing title and bumping to critical just to get more attention as this patch deserves that I think)
Comment #6
AmrMostafa commentedTested, patch works for me.
Comment #7
obsidiandesign commentedPatch applies cleanly, corrects the bug. Looking at the historical issue, the implementation is the same, so there shouldn't be any code issues. Node SimpleTests run successfully.
Comment #8
dries commentedCommitted to CVS HEAD.
Comment #9
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.