Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#2 | openlayers-fill_layer_options_form-1761768-2.patch | 3.06 KB | friedjoff |
Comments
Comment #1
StephenOTT CreditAttribution: StephenOTT commentedHaving the same issue
Comment #2
friedjoff CreditAttribution: friedjoff commentedThe 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.
Comment #3
friedjoff CreditAttribution: friedjoff commentedComment #4
guictx CreditAttribution: guictx commentedAbove patch solved the issue for me.
Comment #5
PolThanks, fixed!
Comment #6
PolI 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.
Comment #7
PolThis is not related to this, see #814220: Utilize CTools Export UI.