]> git.koha-community.org Git - koha.git/commit
Bug 32798: Update parameter passed to Koha::Biblio::Metadata->record
authorNick Clemens <nick@bywatersolutions.com>
Thu, 2 Feb 2023 15:03:39 +0000 (15:03 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 21 Feb 2023 13:23:34 +0000 (10:23 -0300)
commitd6433ff71eba75eea9cd7d5e7da8cac62e7ade01
tree320fc213f23aaffcaab45008f26b8d1eb4a318b1
parent1d3159922070059cf55c71f31a1297dbb9bfe4ed
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@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Edit: tcohen updated indentation
misc/migration_tools/build_oai_sets.pl