[Koha-bugs] [Bug 9354] New: Koha has insufficient MARC validation checks
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jan 7 02:49:54 CET 2013
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9354
Bug ID: 9354
Summary: Koha has insufficient MARC validation checks
Classification: Unclassified
Change sponsored?: ---
Product: Koha
Version: 3.10
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Cataloging
Assignee: gmcharlt at gmail.com
Reporter: dpk at randomnotes.org
CC: m.de.rooy at rijksmuseum.nl
I think this is a MAJOR bug because it leads to silent data corruption. You
can reclassify as an enhancement if you don't agree with this assessment.
The Koha MARC import functions do little if any MARC record validation and some
errors in MARC formatting can lead to bad data imports with no warning. Case
in point for us was generating records with pymarc (with Python) and not
setting the 'force_utf8' flag. We generated records that appeared valid, but
tools like MarcEdit clearly complain about the format (length errors, and
leader errors).
leader[9] should have been an 'a', indicating that the data should be
interpreted as UTF8. Since it was missing, the data fields appeared truncated
because the MARC offset calculations got screwed up.
Koha said nothing. We should incorporate the same validation checks that
MarcEdit makes to flag bad import files before the data is accepted.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list