Closing an ILL task with an item lacking barcode raises an error
DBIx::class::storage::dbi::_dbh_execute(): DBI Exception: DBD::mysql::st execute failed: Cannot delete or update a parent row: a foreign key constraint fails (koha_ltulibrary.issues, CONSTRAINT issues_ibfk_2 FOREIGN KEY (itemnumber) REFERENCES items (itemnumber) ON UPDATE CASCADE) at /usr/share/koha/lib/Koha/Object.pm line 234
Workaround is to give the item a barcode in Koha, return it in Koha and then it is possible to close the ILL task
Closing an ILL task with an item lacking barcode raises an error
DBIx::class::storage::dbi::_dbh_execute(): DBI Exception: DBD::mysql::st execute failed: Cannot delete or update a parent row: a foreign key constraint fails (koha_ltulibrary.issues, CONSTRAINT issues_ibfk_2 FOREIGN KEY (itemnumber) REFERENCES items (itemnumber) ON UPDATE CASCADE) at /usr/share/koha/lib/Koha/Object.pm line 234Workaround is to give the item a barcode in Koha, return it in Koha and then it is possible to close the ILL task