bug #5104
closed
prevent MarkerTypes from being deleted when there are Marker entities using that type
Added by Andreas Kohlbecker over 8 years ago.
Updated over 7 years ago.
Description
In the taxeditor it is possible to delete MarkerTypes even if this type is in use. Missing marker types are causing in further consequence a lot of problems.
The cdmlib should provide a mechanism that prevents from deleting MarkerTypes that are in use.
Makers without MarkerType should not be allowed!
This should be handled for ALL term types, not only marker types.
I wonder why hibernate is not aware of the term being used and does not throw an exception.
- Target version changed from Unassigned CDM tickets to Release 3.12
- Priority changed from New to Highest
- Status changed from New to In Progress
fixed with r26304, but have to fix the test.
- Status changed from In Progress to Resolved
- Assignee changed from k.luther - to Andreas Kohlbecker
- Description updated (diff)
- Status changed from Resolved to Closed
- % Done changed from 0 to 100
- Private changed from Yes to No
Deletion is prevented at the persistence level, but the MarkerType is deleted from the session in the editor. That is it disappears from the list of MarkerTypes in the MarkerType editor. After reconnecting the TaxEditor to the cdm instance the marker type becomes visible again. I am creating a new issue for that, this one is actually solved.
- Copied to bug #6231: Correctly handle failed term deletions in the editor added
Also available in: Atom
PDF