[Geoserver-devel] [jira] Created: (GEOS-4494) WMS layer setup will trip code that assumes a layer always has a style

WMS layer setup will trip code that assumes a layer always has a style
----------------------------------------------------------------------

                 Key: GEOS-4494
                 URL: http://jira.codehaus.org/browse/GEOS-4494
             Project: GeoServer
          Issue Type: Bug
    Affects Versions: 2.1-RC4
            Reporter: Andrea Aime
            Assignee: Andrea Aime
             Fix For: 2.1.0

WMS layers do not have a SLD style in the normal sense of the term, as they are not stylable at the moment (we could add support for &SLD_BODY or for POST GetMap later). As a result they get no default style, this however trips code that assumes there will always be one.
For the time being add a "raster" placeholder style to avoid having code specialized for WMSLayerInfo in all places.

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