Active
Project:
GMap Blocks
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
4 Jul 2011 at 16:07 UTC
Updated:
4 Jul 2011 at 16:21 UTC
When saving the block from the "edit block" page (admin/structure/block/manage/gmap_blocks/%%/configure) the block loses all settings added via the "edit gmap block" page (admin/structure/gmap_blocks/blocks/%%/edit).
Lost data includes custom controls and all location relations (the location itself is not lost). The database relation entry is deleted, and apparently the "settings" column is reverted to default.
Major drupal versions are 7.2 and 7.4.
Comments
Comment #1
richthegeek commentedFixed this issue, I don't know how to do a diff/patch though.
Old: (gmap_blocks.module)
New:
The $edit var is only set when submitting from the admin/structure/blocks form (and in this case, $block == 1). Checking for it's existence allows us to skip the module-specific alteration.