Opened 21 years ago
Closed 20 years ago
#400 closed defect (fixed)
OGC Cite WMS Test Suite-Server doesn't return a service exception on undefined or unqueryable layer
Reported by: | Owned by: | dmorissette | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | WMS Server | Version: | 4.1 |
Severity: | minor | Keywords: | |
Cc: |
Description
When GetFeatureInfo is requested on a Layer that is not queryable, then the server issues a Service Exception (code="LayerNotQueryable"). Test path: wms/wmsops/getfeatureinfo/params/query_layers/6 ------------- And when a layer requested is not contained in the Capabilities XML of the WMS, then the server issues a Service Exception. The following error code is available but is not requested by the OGC specification: "LayerNotDefined :Request is for a Layer not offered by the service instance." Test path: wms/wmsops/getfeatureinfo/params/query_layers/5 Bug found on 4.0B. The server returned the following answer for both test path: ------------ <?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?> <!DOCTYPE ServiceExceptionReport SYSTEM "http://www.digitalearth.gov/wmt/xml/exception_1_1_0.dtd"> <ServiceExceptionReport version="1.1.0"> <ServiceException> msWMSFeatureInfo(): WMS server error. Required QUERY_LAYERS parameter missing for getFeatureInfo. <br> </ServiceException> </ServiceExceptionReport> ---------------
Change History (5)
comment:2 by , 21 years ago
See also: Test path: wms/wmsops/getmap/params/layers/5 Request sent: http://www2.dmsolutions.ca/cgi-bin/mswms_ogc_cite?LaYeRs=NonExistant&VeRsIoN=1.1.1&FoRmAt=image/gif&ReQuEsT=GetMap&WiDtH=168&BbOx=-0.0042,-0.0024,0.0042,0.0024&HeIgHt=96&StYlEs=&SrS=EPSG:4326 The test result can be found here: http://cite.opengrohttp://cite.opengroup.org/tsOGC/interface/ViewTestSource?testid=wms/wmsops/getmap/params/layers/5&ts=0001&sesstype=OGCup.org/tsOGC/interface/ViewTestSource?testid=wms/wmsops/getmap/params/layers/5&ts=0001&sesstype=OGC Bug found on 4.0b
comment:3 by , 21 years ago
The following test cases presents two additional rules to follow. If there are two layers in the request, they should both be in the capabilities document. Test path: wms/wmsops/getmap/params/layers/6 The result for this test can be found here: http://cite.opengroup.org/tsOGC/interface/ViewTestSource?testid=wms/wmsops/getmap/params/layers/6&ts=0001&sesstype=OGC The request sent is: http://www2.dmsolutions.ca/cgi-bin/mswms_ogc_cite?LaYeRs=Lakes,NonExistant&VeRsIoN=1.1.1&ReQuEsT=GetMap&FoRmAt=image/gif&WiDtH=168&BbOx=-0.0042,-0.0024,0.0042,0.0024&HeIgHt=96&StYlEs=&SrS=EPSG:4326 Test path: wms/wmsops/getmap/params/layers/7 The result for this test can be found here: http://cite.opengroup.org/tsOGC/interface/ViewTestSource?testid=wms/wmsops/getmap/params/layers/7&ts=0001&sesstype=OGC The request sent is: http://www2.dmsolutions.ca/cgi-bin/mswms_ogc_cite?LaYeRs=NonExistant,Lakes&VeRsIoN=1.1.1&FoRmAt=image/gif&ReQuEsT=GetMap&WiDtH=168&BbOx=-0.0042,-0.0024,0.0042,0.0024&HeIgHt=96&StYlEs=&SrS=EPSG:4326
comment:5 by , 20 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
This is fixed in the current cvs code. The OGC test passes.
Note:
See TracTickets
for help on using tickets.