https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34828 --- Comment #12 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 156567 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=156567&action=edit Bug 34828: Add Koha::Biblio::Metadata::Extractor::MARC and inherit from it The new usage is now: 1. With a Koha::Biblio object my $extractor = Koha::Biblio::Metadata::Extractor->new({biblio => $biblio}); $extractor->get_normalized_upc; or 2. With a MARC::Record my $extractor = Koha::Biblio::Metadata::Extractor->new({metadata=> $biblio->metadata->record}); $extractor->get_normalized_upc; Note that there are "Inconsistent hierarchy during C3 merge of class" warnings raised by the QA script. We could remove them by replacing the 'use' by 'require' in Koha::Biblio::Metadata::Extractor::MARC (in ->new) but that's suboptimal. -- You are receiving this mail because: You are watching all bug changes.