https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43025
--- Comment #25 from Martin Renvoize (ashimema) <[email protected]> --- Created attachment 207727 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=207727&action=edit Bug 43025: Show the repairs made on read when loading an already-corrupt record The cataloguing edit form load path fell back to record_strip_nonxml and a raw exception dump when a record was already undecodable before it could be opened for editing. That gave a much less useful message than the per-fault breakdown this bug already shows for faults introduced or fixed during a fresh save. Koha::Biblio::Metadata->record now repairs recoverable faults itself (bug 43777) and reports them through object_messages, so list those messages to the cataloguer. Only metadata that cannot be repaired at all still ends up as an error, and the message now says the record cannot be loaded rather than claiming characters were stripped. The list is rendered by a new metadata_repairs.inc, so the other pages that need to show the same thing (see the bugs depending on this one) can share it instead of each carrying their own copy. Based-on-patch-by: Nick Clemens <[email protected]> Sponsored-by: OpenFifth Co-Authored-By: Claude Sonnet 5.5 <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected] website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
