When activating ZoomToLayer behaviour in OpenLayers CCK the editing toolbar doesn't show up if the WKT field is null.
Disabling ZoomToLayer makes the toolbar visible again.
This is with GoogleChrome actually, with FireFox you don't even get the map but rather a message:
Error during map rendering: TypeError: bounds is null
Makes sense, as null geometry means no bounds...
Comments
Comment #1
zzolo commentedI would assume the issues is that there is not checking for null or empty features.
Comment #2
zzolo commentedAdded check to ensure an extent is found before trying to zoom.
http://drupal.org/cvs?commit=370368