When saving a preset, the following warning/notice appears:

Notice: Undefined index: options in openlayers_ui_presets_form_process() (line 584 .../sites/all/modules/contrib/openlayers/modules/openlayers_ui/includes/openlayers_ui.presets.inc).

Simple fix included in the attached patch.

CommentFileSizeAuthor
openlayers-index.patch568 byteslevelos

Comments

tmcw’s picture

Thanks for the patch. This might be the wrong approach though - I have a feeling that the 'options' key itself shouldn't be processed there, since it isn't actually in the form anymore.

levelos’s picture

I see, and I just noticed the existing TODO. At the least, it might be a simple stopgap as the warnings are a bit disconcerting.

tmcw’s picture

Status: Active » Fixed

Fixed: http://drupal.org/cvs?commit=402290

I think the 'options' key was just eliminated at some point, but the reference to it was not. All in all, that form process should be axed down the line.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.