We've started to get a problem recently when trying to import ILL-requests with a third party module. It has worked like a charm for over a year but recently it crashes on some items with this error message: Use of uninitialized value in join or string at /usr/share/perl5/MARC/Field.pm line 696. Use of uninitialized value in join or string at /usr/share/perl5/MARC/Field.pm line 696. DBD::mysql::st execute failed: Cannot add or update a child row: a foreign key constraint fails (`koha_koha`.`biblio_metadata`, CONSTRAINT `record_metadata_fk_1` FOREIGN KEY (`biblionumber`) REFERENCES `biblio` (`biblionumber`) ON DELETE CASCADE ON UPDATE CASCADE) [for Statement "INSERT INTO `biblio_metadata` ( `format`, `marcflavour`, `metadata`) VALUES ( ?, ?, ? )" Broken FK constraint Some items will get imported but then on some items this error message occurs and the script crashes. Koha version 18.11.16.000.
How are you importing the ILL requests?
(In reply to Katrin Fischer from comment #1) > How are you importing the ILL requests? Im using this module https://github.com/Libriotech/koha-illbackend-libris Not the most recent one tho since its for Koha 20.05
Hi Jonas, the ILL backends are not supported by community but act more like plugins that are maintained by their developers. I recommend to file an issue on the issue tracker on github for your problem (I see now you already did). You are also on a rather old Koha version, so maybe plugin code and your Koha version are conflicting?
We'll try and fix this over on Github. :-)