Skip to content

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

@ola-andersson

Description

@ola-andersson

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions