Opened 21 years ago

Closed 21 years ago

Last modified 21 years ago

#379 closed defect (fixed)

OGC CITE WMS Test suite-Error message inimage empty after sending an inexisting layer request to the server

Reported by: nsavard@… Owned by: dmorissette
Priority: high Milestone:
Component: WMS Server Version: 4.1
Severity: minor Keywords: VERIFIED
Cc:

Description

Test path: wms/wmsops/getmap/params/exceptions/3

When a WMS server received a request for an inexisting layer for example, and
the  "EXCEPTIONS" parameter is set to "application/vnd.ogc.se_inimage" , the
graphical error message issued is empty.

See test session "session001".

Change History (6)

comment:1 by dmorissette, 21 years ago

Version: 4.04.1
The problem in this case is that MapServer doesn't consider a request for an
invalid layer name to be an error, it just silently ignores the unknown layer
but according to the spec we should produce an error in this case.

comment:2 by nsavard@…, 21 years ago

This bug was found on MapServer 4.0B.

comment:3 by nsavard@…, 21 years ago

Summary: OGC Test suite-Error message inimage empty after sending an inexisting layer request to the serverOGC CITE WMS Test suite-Error message inimage empty after sending an inexisting layer request to the server

comment:4 by nsavard@…, 21 years ago

bug_file_loc: http://www2.dmsolutions.ca/cgi-bin/mswms_ogc_cite?VERSION=1.1.1&REQUEST=GetMap&LAYERS=NonExistant&STYLES=&SRS=EPSG:4326&BBOX=-1,-1,1,1&WIDTH=400&HEIGHT=400&FORMAT=image/png&EXCEPTIONS=application/vnd.ogc.se_inimagehttp://cite.opengroup.org/tsOGC/interface/ViewTestSource?testid=wms/wmsops/getmap/params/exceptions/3&ts=0001&sesstype=OGC
The request sent:

http://www2.dmsolutions.ca/cgi-bin/mswms_ogc_cite?VERSION=1.1.1&REQUEST=GetMap&LAYERS=NonExistant&STYLES=&SRS=EPSG:4326&BBOX=-1,-1,1,1&WIDTH=400&HEIGHT=400&FORMAT=image/png&EXCEPTIONS=application/vnd.ogc.se_inimage



comment:5 by assefa, 21 years ago

Resolution: fixed
Status: newclosed
Fixed in Mapserver (CVS version of 4.1)

comment:6 by nsavard@…, 21 years ago

Keywords: VERIFIED added
Verified.  The image now contains the error message.
Note: See TracTickets for help on using tickets.