[Bug 43746] New: Cannot load or restore deletedbiblios that have do not have a corresponding entry in deletedbiblioitems
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43746 Bug ID: 43746 Summary: Cannot load or restore deletedbiblios that have do not have a corresponding entry in deletedbiblioitems Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Cataloging Assignee: koha-bugs@lists.koha-community.org Reporter: lucas@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org CC: m.de.rooy@rijksmuseum.nl Target Milestone: --- To recreate: 1. Delete at least one record 2. Run delete from deletedbiblioitems; 3. Go to Cataloging -> Restore deleted records 4. It explodes like: [ERROR] GET /api/v1/deleted/biblios: unhandled exception (Mojo::Exception)<<Can't call method "to_api" on an undefined value at /usr/share/koha/lib/Koha/Old/Biblio.pm line 130.>> We should fix to_api so the table can load. We should also throw an exception when trying to restore records like this. However, I don't think we should actually try to restore deletedbiblios with a missing deletedbiblioitems. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43746 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jacob.omara@openfifth.co.uk -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org