bug #5104
closedprevent MarkerTypes from being deleted when there are Marker entities using that type
100%
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!
Related issues
Updated by Andreas Müller over 7 years ago
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.
Updated by Katja Luther over 7 years ago
- Target version changed from Unassigned CDM tickets to Release 3.12
- Priority changed from New to Highest
Updated by Katja Luther over 7 years ago
- Status changed from New to In Progress
fixed with r26304, but have to fix the test.
Updated by Katja Luther about 7 years ago
- Status changed from In Progress to Resolved
- Assignee changed from k.luther - to Andreas Kohlbecker
test fixed r26650
Updated by Andreas Kohlbecker about 6 years ago
- 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.
Updated by Andreas Kohlbecker about 6 years ago
- Copied to bug #6231: Correctly handle failed term deletions in the editor added