Closed (fixed)
Project:
MongoDB
Version:
7.x-1.x-dev
Component:
Block
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Apr 2011 at 11:28 UTC
Updated:
8 May 2011 at 09:02 UTC
Newly created custom blocks with custom body do not show up in the assigned regions.
Updating them screws the whole layout.
The problem starts with saving the custom block in Mongo DB. It saves it wrong the body and format:
[body] => Array (
[value] => bug
[format] => full_html
)
[format] =>
The body and format should be saved like this:
[body] => testassatatas
[format] => full_html
This happens because it saves in [body]: $form_state['values']['body'], not $form_state['values']['body']['value']. The problem is similar with the format.
I made a patch in case it wasn't solved by someone else.
| Comment | File | Size | Author |
|---|---|---|---|
| block_ui.patch | 1.36 KB | vladady |
Comments
Comment #1
dawehnerUpdate status.
Comment #2
chx commentedThis has been fixed for sure in beta2.