Opened 15 years ago
Closed 14 years ago
#561 closed defect (fixed)
getMap-Request STYLE=undefined when Layer-name contains spaces (SLD)
Reported by: | astrid_emde | Owned by: | dev |
---|---|---|---|
Priority: | critical | Milestone: | 2.6.1 release |
Component: | wms | Version: | 2.6 rc1 |
Keywords: | Cc: |
Description
- Mapbender does not request the right style in MapRequest, when the name contains spaces - the requested STYLE is then undefined and the MapServer reports an error as undefined is not a defined STYLE
- looks like Mapbender validates the STYLE by layer-name
Change History (2)
comment:1 by , 15 years ago
Priority: | major → critical |
---|
comment:2 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
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.