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

Martin Renvoize <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #159615|0                           |1
        is obsolete|                            |

--- Comment #23 from Martin Renvoize <[email protected]> ---
Created attachment 159620
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=159620&action=edit
Bug 35104: [Alternative] 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 watching all bug changes.
You are the assignee for the bug.
_______________________________________________
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/

Reply via email to