https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37550 Bug ID: 37550 Summary: bulkmarcimport.pl dies when adding items throws an exception Change sponsored?: --- Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Command-line Utilities Assignee: koha-bugs@lists.koha-community.org Reporter: nick@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org CC: robin@catalyst.net.nz The script runs item addition in an eval, and skips the record if there is an error. Before we deal with the error, however, we try to see if items were added by accessing a hash of itemnumebrs returned. When we throw an exception, the variable is not set. We should move that line after the error handling -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.