[Geoserver-devel] [jira] (GEOS-5075) REST API delete namespace leaves workspace in inconsistent state

Oscar Fonts created GEOS-5075:
---------------------------------

             Summary: REST API delete namespace leaves workspace in inconsistent state
                 Key: GEOS-5075
                 URL: https://jira.codehaus.org/browse/GEOS-5075
             Project: GeoServer
          Issue Type: Bug
          Components: REST
    Affects Versions: 2.2-beta1
            Reporter: Oscar Fonts
            Assignee: Andrea Aime
            Priority: Minor
         Attachments: test_delete_namespace.sh

Creating a namespace via REST API will automatically create the associated workspace.
But deleting the namespace will not try to delete the workspace.

A workspace with no associated namespace is inconsistent.
Loading it in web interface will throw a NullPointerException.

Attached script reproduces the error.

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