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

--- Comment #105 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 194170
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=194170&action=edit
Bug 35104: Remove silent pre-emptive StripNonXmlChars call from
TransformHtmlToMarc

The call was only applied to the first subfield of a newly-created MARC
field (the elsif branch), not to subsequent subfields added to an existing
field, making the stripping incomplete and inconsistent.  It was also
never imported, causing an "Undefined subroutine" crash on any save via
the MARC editor.

Non-XML character stripping is now handled entirely by
Koha::Biblio::Metadata::store(), which operates on the complete MARC XML,
records each stripped character as a biblio_metadata_errors row, and logs
a warning - giving cataloguers and administrators full visibility.

-- 
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/

Reply via email to