https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35104
--- Comment #117 from Martin Renvoize (ashimema) <[email protected]> --- Created attachment 194222 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=194222&action=edit Bug 35104: Strip non-XML characters gracefully and notify user on save Wire the new Metadata::store graceful stripping through every path that saves a bibliographic record: * C4::Biblio::ModBiblioMarc collects stripping warnings via an optional warnings arrayref and pushes a 'nonxml_stripped' entry (using the new stripped_on_last_store() flag so pre-existing errors are not mistaken for a fresh stripping event). TransformHtmlToMarc no longer pre-empts the store-level check by stripping silently on its own. * cataloguing/addbiblio.pl handles the NONXML_STRIPPED warning: when stripping occurred the record is shown back in the editor together with a prominent "Record saved with modifications" notice so the cataloguer can review the result before continuing. * cataloguing/merge.pl propagates the same pattern for merge operations. * Koha::Import::Record::process() catches the Metadata::Invalid exception that is still thrown for truly unrecoverable MARCXML. * misc/migration_tools/bulkmarcimport.pl logs a warning when stripping occurs during a bulk import. Sponsored-by: OpenFifth -- You are receiving this mail because: 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/
