Summary: | build_oai_sets.pl passes wrong parameter to Koha::Biblio::Metadata->record | ||
---|---|---|---|
Product: | Koha | Reporter: | Nick Clemens (kidclamp) <nick> |
Component: | Command-line Utilities | Assignee: | Nick Clemens (kidclamp) <nick> |
Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
Severity: | major | ||
Priority: | P5 - low | CC: | jacob.omara, jonathan.druart, lucas, robin |
Version: | Main | Keywords: | rel_22_11_candidate |
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | Trivial patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: |
23.05.00,22.11.04
|
|
Circulation function: | |||
Bug Depends on: | 29697 | ||
Bug Blocks: | |||
Attachments: |
Bug 32798: Update parameter passed to Koha::Biblio::Metadata->record
Bug 32798: Update parameter passed to Koha::Biblio::Metadata->record Bug 32798: Update parameter passed to Koha::Biblio::Metadata->record |
Description
Nick Clemens (kidclamp)
2023-02-02 15:02:18 UTC
Created attachment 146013 [details] [review] 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! Created attachment 146383 [details] [review] 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> Created attachment 147028 [details] [review] 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 Pushed to master for 22.11. Nice work everyone, thanks! Nice work, thanks everyone! Pushed to 22.11.x for the next release. Nice work, thanks everyone! Pushed to 22.11.x for the next release. Missing dependencies for 22.05.x, no backport. |