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
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 (tcohen)
Modified: 2024-08-21 16:43 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:
Circulation function: recalls


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomás Cohen Arazi (tcohen) 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.