Bug 36942 - Throw an exception if a KBART file can't be read
Summary: Throw an exception if a KBART file can't be read
Status: Needs Signoff
Alias: None
Product: Koha
Classification: Unclassified
Component: ERM (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Matt Blenkinsop
QA Contact:
URL:
Keywords:
Depends on: 36831
Blocks:
  Show dependency treegraph
 
Reported: 2024-05-23 11:19 UTC by Matt Blenkinsop
Modified: 2024-07-03 11:20 UTC (History)
5 users (show)

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


Attachments
Bug 36942: Use an exception for a failed KBART file parse (2.78 KB, patch)
2024-07-03 11:19 UTC, Matt Blenkinsop
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Blenkinsop 2024-05-23 11:19:03 UTC
Currently we warn an error message if there is an error parsing a KBART file. We should change this to use an exception
Comment 1 Matt Blenkinsop 2024-07-03 11:19:38 UTC
Created attachment 168439 [details] [review]
Bug 36942: Use an exception for a failed KBART file parse

Test plan:
1) prove t/db_dependent/Koha/BackgroundJob/ImportKBARTFile.t