https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32800 Bug ID: 32800 Summary: build_oai_sets.pl fails on deleted records Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: minor Priority: P5 - low Component: Command-line Utilities Assignee: koha-bugs@lists.koha-community.org Reporter: nick@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org CC: robin@catalyst.net.nz The code fetches metadata for biblios and deleted biblios, but we cannot embed items on deleted biblios: Can't call method "items" on an undefined value at /kohadevbox/koha/Koha/Biblio/Metadata.pm line 163. To recreate: 1 - Delete a biblio 2 - perl /kohadevbox/koha/misc/migration_tools/build_oai_sets.pl -v -i -r 3 - Error: Can't call method "items" on an undefined value at /kohadevbox/koha/Koha/Biblio/Metadata.pm line 163. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.