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

zzolo’s picture

I would assume the issues is that there is not checking for null or empty features.

zzolo’s picture

Status: Active » Fixed

Added check to ensure an extent is found before trying to zoom.

http://drupal.org/cvs?commit=370368

Status: Fixed » Closed (fixed)

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