Hi, I upgraded to the latest dev (2012-Aug-28) to fix the wms url length problem (http://drupal.org/node/1512486). It seams that since that, the Base URL field is always empty. It remains empty after saving a new layer and edit it. But it is also empty if you edit an existing default layer like "MapQuest Open Aerial". Fortunately the existing layers still work.

Members fund testing for the Drupal project. Drupal Association Learn more


StephenOTT’s picture

Having the same issue

friedjoff’s picture

Status: Active » Needs review
3.06 KB

The options form that is specific to the layer type is always created by a new layer instance and all specific options get lost. This patch creates the options form using the current layer instance.

friedjoff’s picture

Title: WMS Base URL field empty » Layer options don't load
guictx’s picture

Above patch solved the issue for me.

Pol’s picture

Status: Needs review » Fixed

Thanks, fixed!

Pol’s picture

Status: Fixed » Needs work

I don't know yet if it's related but, the mapbox layers type are no more working.
It looks like the $data['urls'] from the form are not saved as an array. (see the to_record() method).

I'll set this to active, maybe someone knows how to help.

Pol’s picture

Status: Needs work » Fixed

This is not related to this, see #814220: Utilize CTools Export UI.

Status: Fixed » Closed (fixed)

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