14 Apr
2025
14 Apr
'25
2:16 a.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32638 --- Comment #6 from David Cook <dcook@prosentient.com.au> --- Here's the error when the item has a branchcode that doesn't exist in Koha: DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::mysql::st execute failed: Cannot add or update a child row: a foreign key constraint fails (`koha_kohadev`.`items`, CONSTRAINT `items_ibfk_2` FOREIGN KEY (`homebranch`) REFER ENCES `branches` (`branchcode`) ON UPDATE CASCADE) at /kohadevbox/koha/Koha/Object.pm line 174 Broken FK constraint at /kohadevbox/koha/Koha/BackgroundJob/MARCImportCommitBatch.pm line 94. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.