https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43021 Adolfo Rodríguez Taboada <adolfo.rodriguez@xercode.es> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |adolfo.rodriguez@xercode.es --- Comment #4 from Adolfo Rodríguez Taboada <adolfo.rodriguez@xercode.es> --- Tested both parts: Z39.50/SRU search: I set up a fake SRU server that answers any search with two records, one valid MARCXML and one broken ("<record><leader", sent with recordPacking=string), and added it as an SRU server (sru_options: sru=get,sru_version=1.1). - Before the patch, the Z39.50/SRU search page died with a 500 and the parser error in the log. - After the patch, the valid record is listed, the alert says "Record could not be decoded and was skipped (ref. MARC_DECODE) for <server> result 2", and the log has "Skipping a result from z39.50/SRU server <server> that could not be decoded: ...". Staged record: a copy of an existing import_records row with its marc replaced by a non-MARC blob, opened at cataloguing/addbiblio.pl?breedingid=<id>. - Before the patch, the page loaded an empty form with no notice, and nothing was logged (new_from_usmarc does not die on this blob, it returns a record with no fields). - After the patch, the page shows "The staged record could not be decoded, it cannot be previewed or imported", and an error naming the staged record is logged. t/db_dependent/Breeding.t passes. The QA script flags pod_coverage on C4/Breeding.pm, but that is pre-existing: the subs listed are private subs already on main without POD, and the new _decode_failure has its POD. -- You are receiving this mail because: You are watching all bug changes.