[GeoNetwork-devel] [GeoNetwork opensource Developer website] #958: Should a schema be allowed to be deleted if records still exist with that schema.

#958: Should a schema be allowed to be deleted if records still exist with that
schema.
-----------------------+----------------------------------------------------
Reporter: ianwallen | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: major | Milestone: v2.9.0
Component: General | Version:
Keywords: |
-----------------------+----------------------------------------------------
Should deleting a schema plugin be allowed if records exists for the
schema.

If not then we should display and error in the interface if an attempt it
made.

If yes, then do we cascade/delete these records? If so the logic needs to
be added.

And if we do not cascade then we need to ensure that the remaining records
do not cause any issues on the system - ie maybe they should be disabled?

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/958&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.

#958: Should a schema be allowed to be deleted if records still exist with that
schema.
------------------------+---------------------------------------------------
  Reporter: ianwallen | Owner: geonetwork-devel@…
      Type: defect | Status: closed
  Priority: major | Milestone: v2.8.0 RC0
Component: General | Version:
Resolution: fixed | Keywords:
------------------------+---------------------------------------------------
Changes (by simonp):

  * status: new => closed
  * resolution: => fixed
  * milestone: v2.9.0 => v2.8.0 RC0

Comment:

Fixed in github commit
https://github.com/geonetwork/core-
geonetwork/commit/9383aaafdbe066e0c17e41a1cb2edf40a3b5f57f

Don't allow schema to be deleted if records still exist that use that
schema

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/958#comment:1&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.