Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closing an ILL task with an item lacking barcode raises an error #124

Open
ola-andersson opened this issue Dec 12, 2023 · 0 comments
Open

Comments

@ola-andersson
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant