After bug 35659 that added the OAI harvester to Koha the -d switch for deleting authorities before importing with bulkmarcimport.pl was broken and resulted in a FK error. Switching from truncate to DELETE FROM like we already did for items, biblio etc. fixes the issue. To test: - Make sure you have some authorities in your database - Export some into a file for importing - Run bulkmarcimport -a -d --file <filename> - Verify you get the a DB FK constraint error. - Apply patch - Repeat steps, verify the script now works as expected again * Existing authorities are deleted * File is imported Signed-off-by: David Cook <dcook@prosentient.com.au> Signed-off-by: Jan Kissig <bibliothek@th-wildau.de> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> |
||
|---|---|---|
| .. | ||
| 22_to_30 | ||
| ifla | ||
| buildCOUNTRY.pl | ||
| buildEDITORS.pl | ||
| buildLANG.pl | ||
| build_oai_sets.pl | ||
| bulkmarcimport.pl | ||
| checkNonIndexedBiblios.pl | ||
| create_analytical_rel.pl | ||
| import_lexile.pl | ||
| koha-svc.pl | ||
| rebuild_zebra.pl | ||
| rebuild_zebra_sliced.sh | ||
| remove_unused_authorities.pl | ||
| switch_marc21_series_info.pl | ||
| upgradeitems.pl | ||