Custom WMS Layer error in URL variables not being replaced

Bug #553166 reported by James Michael DuPont
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sahana-Eden
Fix Released
Undecided
Fran Boon

Bug Description

After getting no response at all to my mails, I decided to debug this myself.

I have used firebug to try and debug the map errors, in the request to
mapserver it has the following parameters:
MAP $map
TYPE $format

Here is the request url:
http://xhema.flossk.org:8080/cgi-bin/mapserv?ISBASELAYER=true&WRAPDATELINE=true&MAP=%24map&LAYERS=Test&TYPE=%24format&PROJECTION=EPSG%3A4326&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&FORMAT=image%2Fjpeg&SRS=EPSG%3A900913&BBOX=2113331.29685,5087648.94095,2191602.8138,5165920.4579&WIDTH=256&HEIGHT=256

That cannot be right, It is a bug.

If I replace those with the correct values specified in the gui
MAP=/var/www/mapserver/russian_50_total.map
TYPE=image/png

Then I get :
http://xhema.flossk.org:8080/cgi-bin/mapserv?ISBASELAYER=true&WRAPDATELINE=true&MAP=/var/www/mapserver/russian_50_total.map&LAYERS=Test&TYPE=image/png&PROJECTION=EPSG%3A4326&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&FORMAT=image%2Fjpeg&SRS=EPSG%3A900913&BBOX=2113331.29685,5087648.94095,2191602.8138,5165920.4579&WIDTH=256&HEIGHT=256

Which works.

I am going to upgrade to the latest version on launchpad and test
again, and then report a bug there.
mike

Revision history for this message
James Michael DuPont (jamesmikedupont) wrote :

Version is :
r624 (2010-02-25 1)

Revision history for this message
James Michael DuPont (jamesmikedupont) wrote :

This works in the latest version from launchpad.

Fran Boon (flavour)
Changed in s3:
status: New → Fix Committed
assignee: nobody → Fran Boon (flavour)
Fran Boon (flavour)
Changed in sahana-eden:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.