Bug 5012

Summary: bulkmarcimport.pl throws uninitialized value error if no ISBN
Product: Koha Reporter: Ian Walls <koha.sekjal>
Component: MARC Bibliographic record staging/importAssignee: Galen Charlton <gmcharlt>
Status: CLOSED FIXED QA Contact: Bugs List <koha-bugs>
Severity: minor    
Priority: P5 - low CC: f.demians, koha.sekjal
Version: rel_3_2   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 5067    
Bug Blocks:    

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.