[Koha-bugs] [Bug 4226] New: bulkmarcimport.pl doesn't replace 001 when keepids is not specified
bugzilla-daemon at kohaorg.ec2.liblime.com
bugzilla-daemon at kohaorg.ec2.liblime.com
Thu Feb 18 22:20:35 CET 2010
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=4226
Summary: bulkmarcimport.pl doesn't replace 001 when keepids is
not specified
Product: Koha
Version: HEAD
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P5
Component: Command-line Utilities
AssignedTo: gmcharlt at gmail.com
ReportedBy: brian at jhu.edu
Estimated Hours: 0.0
Change sponsored?: ---
When loading authorities, bulkmarcimport should replace the value in 001 with
the Koha authid. If you use keepids, the 001 is deleted and replaced. Without
keepids, the script attempts to reuse the 001 as the Koha authid. I'm
submitting a patch which checks the 003 of MARC21 records and doesn't attempt
to use the authid of the record unless it matches the MARCOrgCode, since you
probably shouldn't re-use authids that aren't from your system. I wasn't able
to find a UNIMARC equivalent to check.
It seems to me that the whole attempt to re-use the 001 as the authid should
simply be deleted, since it ends up attempting to insert it into an
auto_increment field in the DB. Is there something I'm missing here?
--
Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the Koha-bugs
mailing list