Bug 31368

Summary: Koha::Recalls->add_recall should throw exceptions
Product: Koha Reporter: Tomás Cohen Arazi (tcohen) <tomascohen>
Component: Architecture, internals, and plumbingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low    
Version: unspecified   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function: recalls
Bug Depends on: 29734    
Bug Blocks:    

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.