[Geoserver-devel] [jira] Created: (GEOS-1452) Component WMS with generic SLD not working

Component WMS with generic SLD not working
------------------------------------------

                 Key: GEOS-1452
                 URL: http://jira.codehaus.org/browse/GEOS-1452
             Project: GeoServer
          Issue Type: Bug
          Components: WMS
    Affects Versions: 1.6.0-beta4
            Reporter: Chris Holmes
            Assignee: Andrea Aime
            Priority: Critical
             Fix For: 1.6.0-RC1

http://geo.openplans.org:8080/geoserver/wms?bbox=-128,23,-64,51&Format=application/openlayers&request=GetMap&&width=600&height=317&srs=EPSG:4326&sld=http://geo.openplans.org:8080/geoserver/www/default_polygon.sld&remote_ows_type=WFS&remote_ows_url=http://sigma.openplans.org:8080/geoserver/wfs

This is a request with completely remote SLD's and WMS's. But I get an error:

iceException code="LayerNotDefined">
      Default Polygon: no such layer on this server
Details:
org.vfny.geoserver.wms.WmsException: Default Polygon: no such layer on this server
  at org.vfny.geoserver.wms.requests.GetMapKvpReader.findCoverageLayer(GetMapKvpReader.java:1681)
  at org.geoserver.wms.kvp.GetMapKvpRequestReader.processStandaloneSld(GetMapKvpRequestReader.java:564)
  at org.geoserver.wms.kvp.GetMapKvpRequestReader.processSld(GetMapKvpRequestReader.java:414)

It seems to need the user layer name. If I take the name off I get:
A UserLayer without layer name was passed
Details:
org.vfny.geoserver.wms.WmsException: A UserLayer without layer name was passed

I'm not sure if there's some definition I'm getting wrong, but I feel like a generic SLD that will work against any of our layers should also work fine against remote layers.

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