bulkmarcimport.pl can crash when searching for duplicates if the 005 field from the incoming or local record is not defined. This patch fixes it. Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> Test plan 1/ Create a record with no 005 field 2/ Try to import it checking for duplicates, notice it crashes 3/ Try with a record with a 005 field, but the one in Koha missing one, still crashes 4/ Apply patch 5/ No more crash Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> Passes all tests and QA script. Patch fixes the problem described for importing authorities with the bulkmarcimport.pl when trying to match with existing records. Signed-off-by: Galen Charlton <gmc@esilibrary.com> |
||
|---|---|---|
| .. | ||
| 22_to_30 | ||
| buildCOUNTRY.pl | ||
| buildEDITORS.pl | ||
| buildLANG.pl | ||
| build_oai_sets.pl | ||
| bulkmarcimport.pl | ||
| checkNonIndexedBiblios.pl | ||
| create_analytical_rel.pl | ||
| fix_onloan.pl | ||
| koha-svc.pl | ||
| merge_authority.pl | ||
| rebuild_solr.pl | ||
| rebuild_zebra.pl | ||
| rebuild_zebra_sliced.sh | ||
| remove_unused_authorities.pl | ||
| switch_marc21_series_info.pl | ||
| upgradeitems.pl | ||