[Geoserver-devel] [jira] Created: (GEOS-1284) PutStyle for 'create new SLD' wizard is not working.

PutStyle for 'create new SLD' wizard is not working.
----------------------------------------------------

                 Key: GEOS-1284
                 URL: http://jira.codehaus.org/browse/GEOS-1284
             Project: GeoServer
          Issue Type: Bug
    Affects Versions: 1.6.0-beta2
            Reporter: Chris Holmes
            Assignee: Andrea Aime
            Priority: Critical
             Fix For: 1.6.0-beta3

When trying to use the 'create new SLD' wizard on the latest trunk nightly I get an error when the javascript tries to put the newly created style:

<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE ServiceExceptionReport SYSTEM "http://localhost:8080/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd&quot;&gt; <ServiceExceptionReport version="1.1.1" > <ServiceException code="OperationNotSupported" locator="putstyles">
      No such operation wms 1.0.0 putstyles
</ServiceException></ServiceExceptionReport>

Stack trace says:

org.geoserver.platform.ServiceException: No such operation wms 1.0.0 putstyles
        at org.geoserver.ows.Dispatcher.dispatch(Dispatcher.java:363)
        at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:203)
        at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:139)

It looks like we don't have it hooked up to the dispatcher...

I wouldn't mind dropping PutStyle since our implementation is degenerate (but I also feel like the requirements of put and get style are a bit degenerate, as they make a different set of assumptions about styles than we do), and just do a nice REST implementation to put and get SLD files.

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

     [ http://jira.codehaus.org/browse/GEOS-1284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrea Aime reopened GEOS-1284:
-------------------------------

PutStyle for 'create new SLD' wizard is not working.
----------------------------------------------------

                Key: GEOS-1284
                URL: http://jira.codehaus.org/browse/GEOS-1284
            Project: GeoServer
         Issue Type: Bug
   Affects Versions: 1.6.0-beta2, 1.7.0
           Reporter: Chris Holmes
           Assignee: Andrea Aime
           Priority: Critical
            Fix For: 1.7.1

When trying to use the 'create new SLD' wizard on the latest trunk nightly I get an error when the javascript tries to put the newly created style:
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE ServiceExceptionReport SYSTEM "http://localhost:8080/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd&quot;&gt; <ServiceExceptionReport version="1.1.1" > <ServiceException code="OperationNotSupported" locator="putstyles">
      No such operation wms 1.0.0 putstyles
</ServiceException></ServiceExceptionReport>
Stack trace says:
org.geoserver.platform.ServiceException: No such operation wms 1.0.0 putstyles
        at org.geoserver.ows.Dispatcher.dispatch(Dispatcher.java:363)
        at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:203)
        at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:139)
It looks like we don't have it hooked up to the dispatcher...
I wouldn't mind dropping PutStyle since our implementation is degenerate (but I also feel like the requirements of put and get style are a bit degenerate, as they make a different set of assumptions about styles than we do), and just do a nice REST implementation to put and get SLD files.

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