|
Issue Type:
|
Bug
|
Affects Versions:
|
2.3-beta1
|
Assignee:
|
Andrea Aime
|
Components:
|
REST
|
Created:
|
25/Jan/13 5:11 PM
|
Description:
|
Documentation states that we can PUT workspace modifications: http://docs.geoserver.org/latest/en/user/rest/api/workspaces.html#workspaces-ws-format.
$ curl -v -u admin:geoserver -s -X GET http://localhost:8080/geoserver-2.3-beta1/rest/workspaces/topp.json > topp.json
HTTP/1.1 200 OK
Contents of topp.json are fine, but:
$ curl -v -u admin:geoserver -s -X PUT -H "Content-type: text/json" http://localhost:8080/geoserver-2.3-beta1/rest/workspaces/topp -d @topp.json
..
HTTP/1.1 500 Internal Server Error
..
No such field org.geoserver.catalog.impl.WorkspaceInfoImpl.dataStores
---- Debugging information ----
field : dataStores
class : org.geoserver.catalog.impl.WorkspaceInfoImpl
required-type : org.geoserver.catalog.impl.WorkspaceInfoImpl
converter-type : org.geoserver.config.util.XStreamPersister$SpaceInfoConverter
line number : -1
version : null
Same results with XML.
|
Project:
|
GeoServer
|
Priority:
|
Major
|
Reporter:
|
Benjamin Trigona-Harany
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your [JIRA administrators](https://jira.codehaus.org/secure/ContactAdministrators!default.jspa).
For more information on JIRA, see: [http://www.atlassian.com/software/jira](http://www.atlassian.com/software/jira)