[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
Mon Dec 21 20:25:33 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26171
Nick Clemens <nick at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #114050|0 |1
is obsolete| |
--- Comment #8 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 114575
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=114575&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=...
Signed-off-by: Victor Grousset/tuxayo <victor at tuxayo.net>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list