https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43029
--- Comment #2 from Martin Renvoize (ashimema) <[email protected]> --- 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 <[email protected]> Signed-off-by: Baptiste Wojtkowski <[email protected]> Sponsored-by: OpenFifth -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
