Koha-clms/misc/migration_tools
Nick Clemens c41dacb551 Bug 37709: Die and notify if file cannot be opened
1 - perl misc/migration_tools/bulkmarcimport.pl -b --file=notafile.mrc -v
2 - Output:
    Characteristic MARC flavour: MARC21

    0 MARC records done in 0.00804400444030762 seconds
3 - Apply patch
4 - perl misc/migration_tools/bulkmarcimport.pl -b --file=notafile.mrc -v
5 - Output:
    Characteristic MARC flavour: MARC21
    Could not open notafile.mrc: No such file or directory at misc/migration_tools/bulkmarcimport.pl line 262.

Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 0546217cdc)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2024-11-18 22:52:49 +00:00
..
22_to_30 Bug 29697: Replace GetMarcBiblio occurrences with $biblio->metadata->record 2022-07-22 15:24:11 -03:00
ifla Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
buildCOUNTRY.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
buildEDITORS.pl Bug 29697: Replace GetMarcBiblio occurrences with $biblio->metadata->record 2022-07-22 15:24:11 -03:00
buildLANG.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
build_oai_sets.pl Bug 35442: Script migration_tools/build_oai_sets.pl add ORDER BY 2024-11-18 22:17:47 +00:00
bulkmarcimport.pl Bug 37709: Die and notify if file cannot be opened 2024-11-18 22:52:49 +00:00
checkNonIndexedBiblios.pl Bug 28617: Remove kohalib.pl and rely on PERL5LIB 2021-12-07 12:16:28 -10:00
create_analytical_rel.pl Bug 29697: Replace GetMarcBiblio occurrences with $biblio->metadata->record 2022-07-22 15:24:11 -03:00
import_lexile.pl Bug 33339: Prevent Formula Injection (CSV Injection) in CSV files 2024-11-07 23:02:54 +00:00
koha-svc.pl Bug 37553: Tidy to make QA tools happy 2024-09-11 15:51:31 +00:00
rebuild_zebra.pl Revert "Bug 15187: Index 880 in Zebra the same as Elasticsearch" 2022-10-24 14:03:44 -03:00
rebuild_zebra_sliced.sh Bug 13660: Exclude export phase and use existing exported MARCXML - rebuild_zebra_sliced.sh 2018-01-09 17:23:50 -03:00
remove_unused_authorities.pl Bug 30939: Fix use statement for DelAuthority 2022-06-28 09:39:24 -03:00
switch_marc21_series_info.pl Bug 29697: Replace GetMarcBiblio occurrences with $biblio->metadata->record 2022-07-22 15:24:11 -03:00
upgradeitems.pl Bug 29697: Replace GetMarcBiblio occurrences with $biblio->metadata->record 2022-07-22 15:24:11 -03:00