opengeospatial / ets-wms11

Executable Test Suite for WMS 1.1.X
0 stars 5 forks source link

Test error "Error: A sequence of more than one item is not allowed as the first argument of contains()" #69

Closed vinnakota closed 5 years ago

vinnakota commented 5 years ago

I have couple of tests failing because of this error Error: A sequence of more than one item is not allowed as the first argument of contains() ("application/vnd.esri.wms_raw_x...", "nosniff")

Test Ids:

For each of these tests the server response headers contains content-type and x-content-type-options keys.

cache-control: private
content-encoding: gzip
content-length: 430
content-type: application/vnd.esri.wms_raw_xml
date: Thu, 13 Dec 2018 18:12:57 GMT
expires: Thu, 01 Jan 1970 00:00:00 UTC
server: Microsoft-IIS/10.0
server: 
status: 200
x-aspnet-version: 4.0.30319
x-content-type-options: nosniff
x-powered-by: ASP.NET
x-xss-protection: 1; mode=block

@ssankaran

dstenger commented 5 years ago

Thank you for reporting.

We will do further investigation.

keshavnangare commented 5 years ago

@vinnakota

Can you please provide the service URL?

vinnakota commented 5 years ago

@keshav-nangare https://ogccert.dev.geocloud.com/server/services/cite_shp/MapServer/WMSServer?request=GetCapabilities&service=WMS&version=1.1.1

keshavnangare commented 5 years ago

Fixed with this commit: 17488df3ad746f19675e21c2a060c89a05813679

dstenger commented 5 years ago

Functional test of fix with https://ogccert.dev.geocloud.com/server/services/cite_shp/MapServer/WMSServer?request=GetCapabilities&service=WMS&version=1.1.1: -> Tests wmsops-getfeatureinfo-params-query_layers-1 and wmsops-getfeatureinfo-params-query_layers-2 are passing now.