Ticket #819 (closed defect: fixed)

Opened 9 years ago

Last modified 9 years ago

[MapServer-WMS Server]Incorrect error message when undefined layer is set in query_layers parameter

Reported by: nsavard@… Owned by: mapserverbugs
Priority: high Milestone:
Component: WMS Server Version: 4.3
Severity: normal Keywords:
Cc:

Description

The error message is incorrect when "query_layers" parameter is set to an
undefined layer in a GetFeatureInfo WMS request (see below).  The error code
should be 
"LayerNotDefined" and the message should say something like: 
"sWMSFeatureInfo(): WMS server error. Undefined layer(s) in QUERY_LAYERS
parameter for getFeatureInfo."

MS 4.3

---------------
Service exception report:

<?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?>
<!DOCTYPE ServiceExceptionReport SYSTEM
"http://schemas.opengis.net/wms/1.1.1/WMS_exception_1_1_1.dtd">
<ServiceExceptionReport version="1.1.0">
<ServiceException code="LayerNotQueryable">
msWMSFeatureInfo(): WMS server error. Required QUERY_LAYERS parameter missing
for getFeatureInfo.
</ServiceException>
</ServiceExceptionReport>

Change History

Changed 9 years ago by assefa

  • status changed from new to closed
  • resolution set to fixed
Error messages have been corrected.
Note: See TracTickets for help on using tickets.