Bug 9523: importing staged bib records hangs if a matched bib has been deleted
authorKyle M Hall <kyle@bywatersolutions.com>
Thu, 7 Feb 2013 14:57:47 +0000 (09:57 -0500)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Mon, 22 Apr 2013 01:07:01 +0000 (21:07 -0400)
commit71cbc3700fc4d113a3343ef1bba893b4cfc8266b
tree8be5b9296e74d9af1e275d705842909571e8244d
parentdd2a4c21e609fce9b3babbfe2272db26a30e3cf6
Bug 9523: importing staged bib records hangs if a matched bib has been deleted

Test Plan:
1) Stage a MARC record file that will have matches with existing records
2) Delete the bib from Koha that was matched on
3) Attempt to import the records into Koha, the import will hang
4) Apply the patch
5) Reload manage-marc-import.pl and attempt to import again, this time it should succeed.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
(cherry picked from commit ea23dbeab2a2f5cf6be64e707ea56b3ea89e437b)

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
C4/ImportBatch.pm