Bug 31368 - Koha::Recalls->add_recall should throw exceptions
Summary: Koha::Recalls->add_recall should throw exceptions
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Architecture, internals, and plumbing (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low normal (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on: 29734
Blocks:
  Show dependency treegraph
 
Reported: 2022-08-16 12:46 UTC by Tomás Cohen Arazi
Modified: 2022-08-16 20:42 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomás Cohen Arazi 2022-08-16 12:46:10 UTC
It instead returns undef. We should change this and properly handle exception cases. One remarkable example is missing mandatory parameters.