[Koha-bugs] [Bug 2435] New: corrupt MARC record can abort import batch commit
bugzilla-daemon at pippin.metavore.com
bugzilla-daemon at pippin.metavore.com
Wed Jul 30 22:36:17 CEST 2008
http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=2435
Summary: corrupt MARC record can abort import batch commit
Product: Koha
Version: HEAD
Platform: PC
OS/Version: All
Status: NEW
Severity: major
Priority: P3
Component: MARC Bibliographic record staging/import
AssignedTo: galen.charlton at liblime.com
ReportedBy: galen.charlton at liblime.com
QAContact: koha-bugs at lists.koha.org
CC: rch at liblime.com, michele.maenpaa at liblime.com
A MARC record that is corrupt because it has non-UTF8 control characters in the
leader can be successfully staged, but a commit operation (e.g.,
commit_biblios_file.pl) can fail because the MARCXML generated by the staging
operation is invalid.
The error message associated with the crash is:
substr outside of string at /usr/local/share/perl/5.8.8/MARC/Record.pm line
554.
This is a multi-part bug:
[1] MARC::File::XML should not emit a UTF-8 MARC record that isn't actually
valid UTF-8.
[2] This kind of record corruption should be detected during staging.
[3] $marc->warnings() should be checked; if it includes a warn that the leader
is not of the correct length, the record should be considered corrupt.
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the Koha-bugs
mailing list