anushani / atlasmapper

Automatically exported from code.google.com/p/atlasmapper
0 stars 0 forks source link

GetFeature request fails through proxy for layernames with spaces #60

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a layer with a space in its name on a WMS service hosted on a 
different domain to the AtlasMapper. This will result in the GetFeature 
requests being made through the proxy.
2. Add the layer to a map and click on a feature, observing the network 
traffic. The layer name gets truncated at the space in its name resulting in 
the GetFeature request failing.

What is the expected output? What do you see instead?
The proxy on the server should issue the feature request with the full layer 
name. Instead it is truncated which can be seen in this example error response 
to the feature request for the layer "aims:AIMS - Weather Station":

 <?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE ServiceExceptionReport SYSTEM "http://maps.aims.gov.au/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd"> <ServiceExceptionReport version="1.1.1" >   <ServiceException code="LayerNotDefined">
      Could not find layer aims:AIMS
</ServiceException></ServiceExceptionReport>

What version of the product are you using? On what operating system?
Version 1.3, Linux 

Please provide any additional information below.

Original issue reported on code.google.com by eric.law...@gmail.com on 22 Apr 2013 at 1:45

GoogleCodeExporter commented 9 years ago

Original comment by lafond.g...@gmail.com on 23 Apr 2013 at 4:03

GoogleCodeExporter commented 9 years ago
Can not reproduce: Most likely this issue has been fixed with all the 
modifications required to fix issue 57.

Original comment by lafond.g...@gmail.com on 28 May 2013 at 9:34