Bug 34498

Summary: Default autorenewal notices do not account for item_denied_renewal
Product: Koha Reporter: Lucas Gass (lukeg) <lucas>
Component: NoticesAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
Version: Main   
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:

Description Lucas Gass (lukeg) 2023-08-08 16:36:10 UTC
To recreate:

1. Have the default notices set for AUTO_RENEWALS and AUTO_RENEWALS_DGST.
2. Set the ItemsDeniedRenewal system preference. ( itemlost: [1,2,3,4,5] )
3. Set the AutoRenewalNotices system preference to 'According to messaging preferences'.
4. Don't mark lost items as returned (  MarkLostItemsAsReturned ).
5. Set up some auto renewals and then mark the items as lost. 
6. Run automatic_renewals.pl
7. You get a notice telling you the item cannot be renewed but no reason is specified.