Opened 11 years ago
Closed 9 years ago
#428 closed defect (fixed)
WMS getCapability empty response if no service defined
Reported by: | abeccati | Owned by: | Nikolche Kolev |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | petascope | Version: | 8.4 |
Keywords: | Cc: | ||
Complexity: | Easy |
Description
When running a getCapabilites request to WMS server while no WMS service has been defined an empty document is returned instead of an error.
catalina.out message:
ERROR [17:42:53] DatabaseConfigAdapter@93: Error: Failed to find service definition in database:Error: Service not found.
ERROR [17:42:53] WMSException@197: WMSException::WMSException(302,null): warning: cannot read message file pertaining to resource /var/lib/tomcat6/webapps/petascope/WEB-INFwms-messages/raswms_msgs_en; no texts will be available.
Change History (7)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
Piero if you want you can reassign this to nkolev, just please provide an example URL for testing.
comment:3 by , 11 years ago
think I'll have to.
Beforehand, is this in comment:1 a typo?
.../WEB-INFwms-messages/...
or there is a missing slash indeed?
comment:4 by , 11 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
WMS GetCapabilities request (assuming web containter on 8080):
http://localhost:8080/petascope/wms?request=GetCapabilities&version=2.0.0&service=WMS
comment:5 by , 11 years ago
Looks like a missing slash from Alan's description.
What should be the error btw? Nikolche please check in the WMS (1.1 I think) standard.
comment:6 by , 11 years ago
Status: | assigned → accepted |
---|
comment:7 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Also consider that this should be fixed