Opened 15 years ago

Closed 15 years ago

#1515 closed bug (wontfix)

wms layer is added even if the the request fails

Reported by: lutra Owned by: mhugent
Priority: major: does not work as expected Milestone: Version 1.2.0
Component: WMS Version: Trunk
Keywords: wms, wfs Cc:
Must Fix for Release: Yes Platform: All
Platform Version: Awaiting user input: yes

Description

When a WMS layer is added and the requests fails, the layer is added anyway in the legend. The result is that if the layer is not removed by hand from the legend, any action (zoom, pan, add/remove other layers) will produce the error shown when the initial request failed.

If the wms layer cannot be retrieved it should not be added to the legend.

I noticed this behavior when I mistakenly used the wrong URL while adding a new wms server connection:

I used

http://mapas.igeo.pt/igp/Capabilities/wms_CRIF_GetCapabilities.xml

instead of

http://mapas.igeo.pt/wms/crif2008

The first URL gives a list of layers but a error is returned when you try to add them, still they are added to the legend.

Change History (4)

comment:1 by lutra, 15 years ago

Must Fix for Release: NoYes

comment:2 by lutra, 15 years ago

Cc: wms removed
Keywords: wms added

comment:3 by lutra, 15 years ago

Owner: changed from nobody to mhugent

comment:4 by lutra, 15 years ago

Keywords: wfs added
Milestone: Version 1.0.3Version 1.2.0
Platform: DebianAll
Platform Version: Ubuntu 8.10 32 bit
Resolution: wontfix
Status: newclosed
Version: 1.0.0HEAD

Well, the problem was then explained very bad. I will open a new ticket with a better description if and when I will encounter again the same problem.

Note: See TracTickets for help on using tickets.