https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32638

--- Comment #6 from David Cook <[email protected]> ---
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.
_______________________________________________
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/

Reply via email to