[mapserver-dev] Re: msautotest
Lime, Steve D (DNR)
Steve.Lime at state.mn.us
Fri Mar 18 11:15:04 EDT 2011
Issue 1 is not true. If you're using output formats then you don't need a valid file since you're using the file specified in the output format. If you're not using an output format then obviously the template does need to exist and be valid. However since the tests are all using output formats TEMPLATE 'dummy' is perfectly valid. Issue 2 is not relevant to the testing...
This is related to the default output formats somehow...
From: mapserver-dev-bounces at lists.osgeo.org [mapserver-dev-bounces at lists.osgeo.org] On Behalf Of Jim Klassen [klassen.js at gmail.com]
Sent: Friday, March 18, 2011 10:11 AM
To: Lime, Steve D (DNR)
Cc: MapServer Dev Mailing List
Subject: [mapserver-dev] Re: msautotest
I see two issues so far...
1) The file specified in TEMPLATE needs to exist and have a valid magic string (even though it should be using the OUTPUTFORMAT template and not the Header/Template/Footer style.)
2) The Content-type header sent for msautotest/misc/result/rfc36_geojson.js is incorrect (geojson not application/json; subtype=geojson)
On Mar 18, 2011, at 10:56 AM, Lime, Steve D (DNR) wrote:
> You have to have a TEMPLATE for something to be queryable. Something is definitely wrong (most tests in msautotest/query also fail) and probably related to the default output format changes. Can someone summarize those?
> From: Jim Klassen [klassen.js at gmail.com]
> Sent: Friday, March 18, 2011 9:53 AM
> To: MapServer Dev Mailing List
> Cc: Lime, Steve D (DNR)
> Subject: msautotest
> We're going through msautotest at the sprint and running into a problem with templates...
> In msautotest/misc/rfc36.map it looks like it is needs TEMPLATE 'dummy' but this doesn't appear to be allowed anymore?
> Jim K
mapserver-dev mailing list
mapserver-dev at lists.osgeo.org
More information about the mapserver-dev