Closed (fixed)
Project:
Openlayers
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Aug 2010 at 19:20 UTC
Updated:
18 Aug 2010 at 15:10 UTC
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.
| Comment | File | Size | Author |
|---|---|---|---|
| openlayers-index.patch | 568 bytes | levelos |
Comments
Comment #1
tmcw commentedThanks 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.
Comment #2
levelos commentedI see, and I just noticed the existing TODO. At the least, it might be a simple stopgap as the warnings are a bit disconcerting.
Comment #3
tmcw commentedFixed: 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.