Closed (fixed)
Project:
Openlayers
Version:
6.x-2.x-dev
Component:
OpenLayers UI
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Jun 2010 at 09:52 UTC
Updated:
19 Jul 2010 at 13:50 UTC
warning: Invalid argument supplied for foreach() in includes/form.inc on line 1207.
No idea how to obtain a stack trace.
Comments
Comment #1
tom_o_t commentedI see the same after upgrading to the latest dev release when editing or adding a preset.
The code that's throwing the error in form.inc is:
I've not got a proper debugger set up on my new machine, but if there's no follow up on this issue I guess that will be motivation for me!
Comment #2
tom_o_t commentedOK - it's the options_form for the tooltip and popups - defaults are NULL.
I tried removing the #default_value if it's not set (instead of setting it to NULL). This removed the errors, but caused other errors upon saving.
includes/behaviors/openlayers_behavior_popup.inc
Comment #3
gmclelland commentedFYI... I am getting this as well.
Comment #4
zzolo commentedFixed in http://drupal.org/cvs?commit=387980 (note forgot # in commit message)
Comment #5
strk commentedconfirmed