Opened 12 years ago

Closed 12 years ago

#4162 closed defect (duplicate)

WMS GetCapabilities should not return an error when there are no layers present

Reported by: KeithMoss Owned by: msogcbugs
Priority: normal Milestone:
Component: WMS Server Version: 6.0
Severity: normal Keywords:
Cc:

Description

When a mapfile has no layers, a GetCapabilities request resutls in a Service Exception:

msWMSGetCapabilities(): WMS server error. WMS request not enabled. Check wms/ows_enable_request settings.

We believe it should just return a valid capabilities document with no layers.

By the way, we have set ows_enable_request to "*" in the WEB metadata.

Change History (2)

comment:1 by sdlime, 12 years ago

Component: MapServer C LibraryWMS Server
Owner: changed from sdlime to msogcbugs

comment:2 by dmorissette, 12 years ago

Resolution: duplicate
Status: newclosed

I believe this has been reported and fixed in SVN trunk r12926 for ticket #3755.

Closing as duplicate.

Note: See TracTickets for help on using tickets.