Opened 20 years ago
Closed 20 years ago
#819 closed defect (fixed)
[MapServer-WMS Server]Incorrect error message when undefined layer is set in query_layers parameter
Reported by: | 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>
Note:
See TracTickets
for help on using tickets.