Bug 35454

Summary: A bad RENEWAL notice breaks the ability to renew items
Product: Koha Reporter: Lucas Gass (lukeg) <lucas>
Component: NoticesAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: hebah, Laura.escamilla
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Lucas Gass (lukeg) 2023-11-30 16:01:44 UTC
To recreate:

1. Have an errouneous template in your RENEWAL notice. For  example this template is missing an [% END %]:

[% UNLESS  borrower.branchcode == "ABC" %]
The following items have been renewed:
----
<<biblio.title>>
----

2. Have  RenewalSendNotice set to 'Send'
3. Make sure a patron has the 'Item checkout' messaging pref set. 
4. Checkout some items to that patron and try to renew them.
5. Nothing happens.
6. Fix the notice by adding the missing [% END %]
7. Now you can successfully renew.


Bad templates should not complete break the ability to renew items.