[Koha-bugs] [Bug 26171] Show biblionumber in Koha::Exceptions::Metadata::Invalid

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Aug 7 10:10:08 CEST 2020


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

--- Comment #1 from Fridolin SOMERS <fridolin.somers at biblibre.com> ---
Created attachment 107941
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=107941&action=edit
Bug 26171: Show biblionumber in Koha::Exceptions::Metadata::Invalid

Bug 23846 added a check for invalid MARCXML in
search_for_data_inconsistencies.pl.
But the error message does not show the biblionumber of invalid biblio record.

Test plan:
1) Import a bibliographic record with invalid XML, you can add non printable
characters, like 0x1F (CTRL-V 1F with vim)
2) Run misc/maintenance/search_for_data_inconsistencies.pl
3) Check you see correct biblionumber in error message :
Invalid data, cannot decode object (id=xxx, biblionumber=yyy, format=marcxml,
schema=zzz, decoding_error=...

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list