https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35104

--- Comment #33 from Martin Renvoize <martin.renvo...@ptfs-europe.com> ---
Created attachment 159812
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=159812&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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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/

Reply via email to