Koha/circ
Baptiste Wojtkowski b65eb561e9
Bug 38847: Fix error when renewing an expired child patron without a guarantor
This fixes an internal server error when renewing an expired
child patron without a guarantor, when the ChildNeedsGuarantor
is set to "must have".

Test plan:
1. Create or edit a child patron:
   - Don't add a guarantor.
   - Set the "Expiry date" to a date in the past.
2. Set the ChildNeedsGuarantor system preference to "must have".
3. Refresh or view the patron's check out or details page, and
   select the "Renew" link under the attention heading -
   this generates an internal server error message.
4. Apply patch.
5. Repeat step 3, you will now get a standard error message
   "This patron could not be renewed: they need a guarantor."
6. Add a guarantor for the patron.
7. Repeat step 3, and click "Renew" - the patron is now renewed.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2025-02-12 15:28:17 +01:00
..
add_message.pl Bug 37365: (QA follow-up) Add borrowernumber to referrer url 2024-11-07 17:32:44 +01:00
article-request-slip.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
article-requests.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
bookcount.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
branchoverdues.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
branchtransfers.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
checkout-notes.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
circulation-home.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
circulation.pl Bug 38847: Fix error when renewing an expired child patron without a guarantor 2025-02-12 15:28:17 +01:00
curbside_pickups.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
del_message.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
hold-transfer-slip.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
on-site_checkouts.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
overdue.pl Bug 33339: Prevent Formula Injection (CSV Injection) in CSV files 2024-11-14 10:46:31 +01:00
pendingbookings.pl Bug 33736: Add filter for holding library 2024-10-25 11:09:55 +02:00
pendingreserves.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
renew.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
request-article.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
reserveratios.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
returns.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
set-library.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
transfer-slip.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
transfers_to_send.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
transferstoreceive.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
view_holdsqueue.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
waitingreserves.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00