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

--- Comment #77 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 194009
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=194009&action=edit
Bug 35104: Persist nonxml_stripped on biblio_metadata, show on detail pages

Add a nonxml_stripped column to biblio_metadata so that the automatic
stripping of non-XML characters during store() survives beyond the
current request. The column is set to the XML parse error message when
stripping was needed, and cleared to NULL when the record is saved
cleanly, so the warning disappears once the cataloguer has reviewed and
re-saved the record.

Show a warning alert on the biblio detail page and MARC detail page
whenever nonxml_stripped is set, with a direct link to the edit form.

Fix Koha::Import::Record::get_marc_record() to fall back to
StripNonXmlChars when the raw staged MARCXML cannot be parsed, so that
the import preview (showmarc.pl?importid=...) no longer returns a 404
for records that contain non-XML characters.

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/

Reply via email to