[Geoserver-devel] [jira] Created: (GEOS-2731) Check there are no dependent objects before removing a catalog item

Check there are no dependent objects before removing a catalog item
-------------------------------------------------------------------

                 Key: GEOS-2731
                 URL: http://jira.codehaus.org/browse/GEOS-2731
             Project: GeoServer
          Issue Type: Bug
            Reporter: Andrea Aime
            Assignee: Justin Deoliveira
             Fix For: 2.0.x

Calling catalog.remove(StoreInfo) removes the store from the catalog, but does not remove any of the dependent objects.
Either this should trigger an exception, or drop all of the dependent objects.
Client wise, it would be nice to get a list of the dependent objects.
That list must be generated somehow anyways to perform the check, and woud help the client code to perform a deep delete and to present the user what is actually going to be deleted.

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