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

            Bug ID: 42528
           Summary: metadata_record should always strip nonxml characters
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

This was inspired by noticing that when importing a batch the indexing could
fail for a batch of records where a single record had encoding issues.

Koha::Biblio->metdata_record is used for retrieving records from the DB, and
possibly filtering them.

In the cases we are using this, it's better to give the user/caller a result
than nothing

The error on the record is logged, it can be seen when viewing the record in
the staff interface, and can be found using the data inconsistencies tool. I
think it makes sense for the default behavior to attempt to clean the record.

-- 
You are receiving this mail because:
You are the assignee for the bug.
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