]> git.koha-community.org Git - koha.git/commit
Bug 37709: Die and notify if file cannot be opened
authorNick Clemens <nick@bywatersolutions.com>
Thu, 22 Aug 2024 11:35:45 +0000 (11:35 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 11 Oct 2024 09:13:51 +0000 (11:13 +0200)
commit0546217cdca92f1e02432c38194a9a8e5dab55ba
treec07e1888487f809465d4031eb9b76968aa1bb35d
parent80d4d3a58682a0dcc206822375d4d1afe9969a34
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>
misc/migration_tools/bulkmarcimport.pl