Bug 33279

Summary: OAI-PMH should not die on record errors
Product: Koha Reporter: Nick Clemens (kidclamp) <nick>
Component: Architecture, internals, and plumbingAssignee: Bugs List <koha-bugs>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: hannah.co, jonathan.druart
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

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 ***