https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42067 Bug ID: 42067 Summary: Items can no longer be deleted after running the bug 26993 database update Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: blocker Priority: P5 - low Component: Architecture, internals, and plumbing Assignee: koha-bugs@lists.koha-community.org Reporter: kyle@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org Caused by bug 26993. I think this is because the db rev drops the UNIQUE KEY itemnumber from items_last_borrower using SET FOREIGN_KEY_CHECKS=0 to bypass MySQL's protection against dropping an index that backs a FK constraint. This leaves items_last_borrower_ibfk_1 intact in metadata but without a supporting index, causing all item deletions to fail with error 1451 even if items_last_borrower is empty. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.