[Mapbender-dev] Re: [Mapbender] #561: getMap-Request STYLE=undefined when Layer-name contains spaces (SLD)

Mapbender mapbender_dev at lists.osgeo.org
Wed Dec 2 17:25:54 EST 2009


#561: getMap-Request STYLE=undefined when Layer-name contains spaces (SLD)
--------------------------+-------------------------------------------------
  Reporter:  astrid_emde  |       Owner:  dev    
      Type:  defect       |      Status:  new    
  Priority:  critical     |   Milestone:  2.6.1  
 Component:  wms          |     Version:  2.6 rc1
Resolution:               |    Keywords:         
--------------------------+-------------------------------------------------
Changes (by mschulz):

  * priority:  major => critical

Comment:

 The problem arises with every layer name that has special characters, e.g.
 also the namespace separator ":" that is very common to geoserver layers.

 The problem is that in map_obj.js, function getMapUrl, the validLayers
 array is looped and the layername is encoded, so that the following check
 for the style fails because the layernames aren't equal anymore.

-- 
Ticket URL: <http://trac.osgeo.org/mapbender/ticket/561#comment:1>
Mapbender <http://www.mapbender.org/>
Mapbender


More information about the Mapbender_dev mailing list