[Koha-bugs] [Bug 32798] build_oai_sets.pl passes wrong parameter to Koha::Biblio::Metadata->record

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


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32798

--- Comment #1 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 146013
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=146013&action=edit
Bug 32798: Update parameter passed to Koha::Biblio::Metadata->record

To test:
1 - Enable OAI sets, and define a set with mapping 952 y = BK
2 - perl misc/migration_tools/build_oai_sets.pl -v -i -r
3 - The script dies:
    Koha::Biblio::Metadata->record must be called on an instantiated object or
like a class method with a record passed in parameter
4 - Apply patch
5 - Repeat
6 - Success!

-- 
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