[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
Tue Feb 21 14:13:08 CET 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32798
Tomás Cohen Arazi <tomascohen at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #146383|0 |1
is obsolete| |
--- Comment #3 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 147028
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=147028&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!
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Edit: tcohen updated indentation
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list