Opened 15 years ago

Closed 14 years ago

#550 closed enhancement (fixed)

Error in feature data results when you've checked the queries only inside a WMS.

Reported by: gunnar Owned by: christoph
Priority: major Milestone: 2.7 release
Component: wms Version: 2.6 rc1
Keywords: feature request Cc:

Description

When you switch on the feature data request ticks on a WMS, and you have unticked the visibility of all layers in that WMS, you'll get an error in your feature data results by clicking on any area in your map:

msWMSLoadGetMapParams(): WMS server error. At least one layer name required in LAYERS.

... and when you've unchecked all the ticks in a WMS you'll see the correct message prompt by clicking on any area in the map.

"Please select a layer"

Change History (2)

comment:1 by gunnar, 15 years ago

Milestone: 2.6.12.7 release

comment:2 by astrid_emde, 14 years ago

Resolution: fixed
Status: newclosed

fixed: Mapbender only sends a getFeatureInfo-Request, when the info-checkbox is checked and also the draw-layer checkbox.

Now it is not possible to send a getFeatureInfo-Request, when the layer is not visible (if this functionality is needed, please let us know)

Note: See TracTickets for help on using tickets.