[Bug 42067] New: Items can no longer be deleted after running the bug 26993 database update
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.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42067 Kyle M Hall (khall) <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |kyle@bywatersolutions.com |ity.org | -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42067 Kyle M Hall (khall) <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #1 from Kyle M Hall (khall) <kyle@bywatersolutions.com> --- *** This bug has been marked as a duplicate of bug 42068 *** -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org