[Geoserver-devel] [jira] Created: (GEOS-3786) if a layer refers to a style that does not exist getCapabilities fails

if a layer refers to a style that does not exist getCapabilities fails
----------------------------------------------------------------------

                 Key: GEOS-3786
                 URL: http://jira.codehaus.org/browse/GEOS-3786
             Project: GeoServer
          Issue Type: Bug
          Components: WMS
    Affects Versions: 2.0.0
         Environment: Linux webmapping.ems.psu.edu 2.6.9-89.0.19.EL #1 Wed Dec 30 12:42:17 EST 2009 i686 i686 i386 GNU/Linux

            Reporter: Ian Turton
            Assignee: Andrea Aime

Somehow I ended up with layers that referred to a style that didn't exist any longer. When you make a GetCapabilities request you get the following:

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
  <!DOCTYPE ServiceExceptionReport (View Source for full doctype...)>
- <ServiceExceptionReport version="1.1.1">
  <ServiceException>Translator error Translator error Error occurred trying to write out metadata for layer: Europe_hydro-inland-water-a java.io.IOException: No such file: Europe Hydro.sld No such file: Europe Hydro.sld</ServiceException>

  </ServiceExceptionReport>

Wouldn't it be better to just ignore missing styles?

--
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