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

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

Instead of storing a single nonxml_stripped flag directly on biblio_metadata,
introduce a normalised biblio_metadata_errors table that can hold multiple
typed error rows per metadata record.

- Add biblio_metadata_errors table (id, metadata_id FK, error_type, message,
  created_on) with CASCADE delete from biblio_metadata
- Remove the nonxml_stripped column from biblio_metadata
- Add Koha::Biblio::Metadata::Error / Errors object classes
- Refactor Koha::Biblio::Metadata::store() to write/clear a nonxml_stripped
  row in biblio_metadata_errors rather than the old column
- Add metadata_errors() accessor on Koha::Biblio::Metadata
- Update C4::Biblio, catalogue/detail.pl, catalogue/MARCdetail.pl and tests
  to query biblio_metadata_errors instead of the old column

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