https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30490
--- Comment #2 from Marcel de Rooy <[email protected]> --- (In reply to Katrin Fischer from comment #1) > My feeling would be that if you delete a parent itemtype, it should set the > field to NULL in the 'child itemtypes'. Does that make sense? Yes. That is the same as RESTRICT. > IIUC quietly deleting the 'children' seems a dangerous move, although it > should hopefully not be possible while items exist for them. Looking closer, the items table has no FK on itype. So you could delete itemtypes but the items will not be deleted. But note that the interface will not allow you to delete the itemtype. But you could in a script or via sql etc, ending up with items that have not existing itemtype. But that is outside the narrower scope of this report. And probably already reported somewhere else.. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
