Not possible to PUT workspace using REST

Description

Documentation states that we can PUT workspace modifications: http://docs.geoserver.org/latest/en/user/rest/api/workspaces.html#workspaces-ws-format - http://docs.geoserver.org/latest/en/user/rest/api/workspaces.html#workspaces-ws-format.

/workspaces/topp.json > topp.json
HTTP/1.1 200 OK

Contents of topp.json are fine, but:

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

Same results with XML.

Environment

None

Status

Assignee

Ian Turton

Reporter

codehaus

Triage

None

Fix versions

Affects versions

Priority

Medium
Configure