https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35104
--- Comment #72 from Martin Renvoize (ashimema) <[email protected]> --- Created attachment 194004 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=194004&action=edit Bug 35104: Throw exception on store of invalid marcxml This patch adds an exception Koha::Biblio::Metadata->store to prevent erroneous characters in marcxml being stored into the database. We also remove the cleanup of such characters from TransformHtmlToMarc as introduced by bug 34549. This should result in there being no way, outside of direct database manipulation, of getting forbidden characters into our marcxml store. We'll need to work through the codebase to catch the exception thrown to give the end user the oportunities to act on the error and fix the data at source. 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 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/
