A layer referring to a missing style makes wms caps generation fail
-------------------------------------------------------------------
Key: GEOS-2558
URL: http://jira.codehaus.org/browse/GEOS-2558
Project: GeoServer
Issue Type: Bug
Components: Community schema
Affects Versions: 1.7.1
Reporter: Andrea Aime
Assignee: Andrea Aime
Priority: Critical
Fix For: 1.7.2
A layer whose style has been deleted from the file system breaks the capabilities generation with a null pointer exception.
The proper behaviour should be to disable the layer on loading instead.
To reproduce,. stop geoserver, delete tiger_roads.sld from the data dir, restart, notice the style loading exception, then ask for the capabilities and notice
how the tiger_roads layer has a <Style> element that's never closed. Also, in that case, it's better to return a service exception instead
of just keep on encoding an invalid document.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira