https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43196 Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://github.com/perl4lib | |/marc-perl/issues/27 Status|NEW |ASSIGNED --- Comment #1 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- I filed an issue on `marc-perl` because the `MiJ` implementation accepts being passed `undef` (i.e. the result from `$c->req->json` on invalid JSON data. I will implement defensive code to avoid the issue. By design, `MARC::Record` will always return a `MARC::Record` object, so we need to check for empty fields also for `USMARC` and `MARCXML`. The latter explodes on bad XML, but the controller catches it and throws an `unhandled exception` with error 500. This needs to be addressed here too. -- You are receiving this mail because: You are watching all bug changes.