https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43029 --- Comment #2 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 201735 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=201735&action=edit Bug 43029: Guard maintenance scripts against biblios with corrupt metadata sanitize_records.pl and touch_all_biblios.pl both read a biblio's metadata record and unconditionally re-save it. Since Koha::Biblio::Metadata->record()/store() can now throw Koha::Exceptions::Metadata::Invalid for a record that was already corrupt before bug 35104 existed, wrap the read (and, for touch_all_biblios.pl, the resulting ModBiblio) so one such biblio is skipped and reported rather than aborting the whole maintenance run. Signed-off-by: Baptiste Bayche <baptiste.bayche@inlibro.com> Signed-off-by: Baptiste Wojtkowski <baptiste.wojtkowski@biblibre.com> Sponsored-by: OpenFifth -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.