[Koha-bugs] [Bug 32800] New: build_oai_sets.pl fails on deleted records

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 2 16:57:57 CET 2023


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 at lists.koha-community.org
          Reporter: nick at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org
                CC: robin at 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.


More information about the Koha-bugs mailing list