We're updating the issue view to help you get more done. 

HTTP 500 on REST featuretype DELETE

Description

When deleting a layer via REST API, we get a 500 on the delete featuretype step.
The steps we use are:
1 delete the layer
2 delete the associated styles
3 delete the featuretype
4 delete the store

The step 3 is failing.

Here the stack trace http://pastebin.com/ZUX8ceFE - http://pastebin.com/ZUX8ceFE.

Before the step 3 a url like http://localhost:8080/geoserver/rest/workspaces/geonode/datastores/streams/featuretypes/streams.xml - http://localhost:8080/geoserver/rest/workspaces/geonode/datastores/streams/featuretypes/streams.xml returns a valid xml, after step 3 returns the correct "not found error".

Environment

None

Status

Assignee

Unassigned

Reporter

codehaus

Triage

None

Fix versions

Affects versions

2.4.0

Components

Priority

Medium