[Koha-bugs] [Bug 28796] New: wrong number of parameters in new_from_xml call
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Aug 2 14:04:40 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28796
Bug ID: 28796
Summary: wrong number of parameters in new_from_xml call
Change sponsored?: ---
Product: Koha
Version: 20.11
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: MARC Bibliographic record staging/import
Assignee: koha-bugs at lists.koha-community.org
Reporter: didier.gautheron at biblibre.com
QA Contact: testopia at bugs.koha-community.org
Hi,
It seems to me that
C4/ImportBatch.pm: my $old_marc =
MARC::Record->new_from_xml(StripNonXmlChars($oldxml), 'UTF-8',
$rowref->{'encoding'}, $marc_type);
Is calling MARC::Record->new_from_xml with the wrong number of parameters and
$marc_type is ignored it should be either:
MARC::Record->new_from_xml(StripNonXmlChars($oldxml), 'UTF-8', $marc_type);
or:
MARC::Record->new_from_xml(StripNonXmlChars($oldxml),$rowref->{'encoding'} ,
$marc_type);
--
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