Opened 18 years ago

Closed 16 years ago

#1765 closed enhancement (invalid)

Allow GetFeatureInfo if QUERY_LAYERS is set but not LAYERS

Reported by: carl.anderson@… Owned by: tomkralidis
Priority: high Milestone: 5.2 release
Component: WMS Server Version: 4.8
Severity: minor Keywords:
Cc: mapserverbugs, dmorissette

Description

When makinge GetFeatureInfo requests the ESRI ArcGIS WMS client is not strictly
following section 7.3.3.4 of the WMS 1.1.1 spec.

It is not passing LAYERS in the request.
It is passing QUERY_LAYERS however.  
If LAYERS is populated from the QUERY_LAYERS value the request is valid.

I request a parameter to allow this malformed client request.

something like 
METADATA
 "wms_getfeatureinfo"  "AllowBrokenClient"
  ...

and during 

msWMSLoadGetMapParams

  populate the names array with the QUERY_LAYERS data if LAYERS is not set

Change History (4)

comment:1 by tomkralidis, 16 years ago

Cc: mapserverbugs added
Milestone: 5.2 release
Owner: changed from mapserverbugs to tomkralidis
Status: newassigned

Is this still an issue? I will try to reproduce this in the next day or so.

Having said this, LAYERS is a required parameter of every version of OGC WMS, so I am tempted to mark this as wontfix if there are no objections.

comment:2 by ctweedie, 16 years ago

Carl, what version of ArcGIS?

If memory serves, this was a resolved bug in the later 9.2 versions.

comment:3 by tomkralidis, 16 years ago

Cc: dmorissette added

I just tried testing this (svn trunk) with ArcGIS 9.2 (build 1324), but I am getting error because ArcGIS is not passing SERVICE= in the GetMap request.

So this ticket is dependent on #2569 before I can fix. Having said this, #2569 may be dependent on #2531.

comment:4 by tomkralidis, 16 years ago

Resolution: invalid
Status: assignedclosed

I just tried this (with a temp fix for #2569), and ArcGIS now does pass LAYERS in a GetFeatureInfo request. Closing. Marking as invalid.

Note: See TracTickets for help on using tickets.