Bug 29697: Don't crash ES reindex if a record is wrong
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 20 Jul 2022 07:02:29 +0000 (09:02 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 22 Jul 2022 18:24:12 +0000 (15:24 -0300)
commitcb8aaff8c380fac3b17a4ba4c31a185623b3420d
tree3ca056eb45b490b8ed3ac6baa32a20458400b26b
parent25f78370c49dbbb589ed6c12ca8126ff55959093
Bug 29697: Don't crash ES reindex if a record is wrong

We don't want rebuild_elasticsearch.pl to crash if a record is wrong
(also fix ktd setup).
Note that now the script will output an error for the problematic
record, which is certainly the expected behaviour as we are doing it
already for authority records.

Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/BiblioUtils.pm