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

--- Comment #112 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 194217
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=194217&action=edit
Bug 35104: Add biblio_metadata_errors table

The preceding signed-off commits (69a6b1c09f7..bfb14bb949e) established an
approach where Metadata::store throws a Koha::Exceptions::Metadata::Invalid
exception when non-XML characters are encountered, requiring every caller to
catch and handle the exception explicitly.

Building on that foundation, we change direction here: instead of throwing,
Metadata::store will strip non-XML characters gracefully on save and persist
structured error details in a new biblio_metadata_errors table.  This will give
cataloguers a clear view of which fields were affected, with context snippets
pointing to the exact character positions, and allows them to review and
confirm or correct the data before marking the errors as resolved.

The new biblio_metadata_errors table supports multiple per-field error records
per metadata row.

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