Bug 5012 - bulkmarcimport.pl throws uninitialized value error if no ISBN
Summary: bulkmarcimport.pl throws uninitialized value error if no ISBN
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: MARC Bibliographic record staging/import (show other bugs)
Version: rel_3_2
Hardware: All All
: P5 - low minor
Assignee: Galen Charlton
QA Contact: Bugs List
URL:
Keywords:
Depends on: 5067
Blocks:
  Show dependency treegraph
 
Reported: 2010-07-15 15:52 UTC by Ian Walls
Modified: 2013-12-05 20:06 UTC (History)
2 users (show)

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Walls 2010-07-15 15:52:06 UTC
When importing records with bulkmarcimport.pl -b, records that have a ISBN field, but not a value in subfield 'a', return an uninitialized value error on line 209.  This occurs when there is a 020, but not a subfield 'a' (or 010 in UNIMARC).

This occurs during the '-' scrubbing section of the script, and may or may not block the import of the record (further testing required).  Since not having a 020a (or 010a in UNIMARC) does not invalidate the record, import should succeed, and the import status display should not be interrupted with this error message.
Comment 1 Frédéric Demians 2010-07-29 13:26:02 UTC
The patch I sent for bug 5067 solve also this one
Comment 2 Katrin Fischer 2013-04-13 19:47:06 UTC
Marking resolved fixed as per Frederic's comment. Please reopen if the problem is not solved.