[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 14:41:46 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35099
Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #157423|0 |1
is obsolete| |
--- Comment #6 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 157431
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=157431&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
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list