[Koha-bugs] [Bug 35099] Cannot load records with invalid marcxml

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 19 13:51:20 CEST 2023


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

--- Comment #4 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 157423
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=157423&action=edit
Bug 35099: Prevent crash from invalid marc in the parent record

When getting the query for components, we need to parse the MARC::Record.
If that fails, we simply should not attempt the component search as the user
should see a warning about the degraded MARC

To test:
prove -v t/db_dependent/selenium/regressions.t
It fails
apply patch, restart_all
prove -v t/db_dependent/selenium/regressions.t
It passes

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


More information about the Koha-bugs mailing list