Opened 13 years ago

Closed 13 years ago

#958 closed defect (fixed)

Should a schema be allowed to be deleted if records still exist with that schema.

Reported by: ianwallen Owned by: geonetwork-devel@…
Priority: major Milestone: v2.8.0 RC0
Component: General Version:
Keywords: Cc:

Description

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?

Change History (1)

comment:1 by simonp, 13 years ago

Milestone: v2.9.0v2.8.0 RC0
Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.