[mapserver-dev] Re: msautotest
klassen.js at gmail.com
Fri Mar 18 11:38:42 EDT 2011
Then there must be something wrong with how ./run_test.py is running rfc36.map
$ cat result/rfc36_geojson.js
<!-- MapServer version 6.0.0-beta1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=THREADS SUPPORTS=GEOS SUPPORTS=POINT_Z_M INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE -->
msReturnPage(): Web application error. Malformed template name (dummy).
On Mar 18, 2011, at 11:15 AM, Lime, Steve D (DNR) wrote:
> 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