Bug 33279 - OAI-PMH should not die on record errors
Summary: OAI-PMH should not die on record errors
Status: RESOLVED DUPLICATE of bug 33270
Alias: None
Product: Koha
Classification: Unclassified
Component: Architecture, internals, and plumbing (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-20 15:58 UTC by Nick Clemens (kidclamp)
Modified: 2023-05-11 10:47 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Clemens (kidclamp) 2023-03-20 15:58:27 UTC
Currently if the OAI listRecords command hits a bad record the script dies and there is no output.

We should wrap the code in an eval or try and handle the error gracefully, allowing the rest of the catalogue to be harvested and reporting the problem in a way it can be addressed
Comment 1 Jonathan Druart 2023-05-11 10:47:14 UTC

*** This bug has been marked as a duplicate of bug 33270 ***