Bug 37331 - Renewing patron without guarantor causes 500 error
Summary: Renewing patron without guarantor causes 500 error
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Patrons (show other bugs)
Version: 24.05
Hardware: All All
: P5 - low minor
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-11 16:56 UTC by Kelly McElligott
Modified: 2024-07-11 16:56 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kelly McElligott 2024-07-11 16:56:07 UTC
When a library activates the new system preference, ChildNeedsGuarantor and then renews a patron that does not have a guarantor, a 500 error appears.  It would more useful to libraries if there was a message explaining why the patron can't be renewed and allowing the library to add the guarantor instead of providing a 500 error.

Steps:
1. Turn on ChildNeedsGuarantor
2. Patron (of a patron category that needs a guarantor but doesn't have one linked) gets renewed
3. 500 error appears.