Bug 21499

Summary: Emails about automatic renewal sent in error
Product: Koha Reporter: Magnus Enger <magnus>
Component: CirculationAssignee: Bugs List <koha-bugs>
Status: CLOSED WONTFIX QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: dcook, gmcharlt, katrin.fischer, kyle.m.hall
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:

Description Magnus Enger 2018-10-05 12:42:33 UTC
I have a library running 18.05 that uses autmatic renewals for loans to other libraries. Now those libraries are getting an email about every renewal, even if that is not the desired thing. 

"RenewalSendNotice" is set to "[Don't send] a renewal notice according to patron checkout alert preferences." Not sure if this is relevant for automatic renewals?

(As far as I can see, there is no "patron checkout alert preferences" related to renewals.)

The cron-job automatic_renewals.pl is run in the standard way, without the --send-notices option. 

Still, emails are generated and sent every time the script runs. Anyone else experiencing this?
Comment 1 Katrin Fischer 2018-10-05 12:55:08 UTC
Hi Magnuse, not sure I understand yet - is the problem that the email is sent out at all or that it is sent out when it shouldn't be?

I think to deactivate you'd just delete the notice.
Comment 2 Magnus Enger 2018-10-08 09:42:58 UTC
(In reply to Katrin Fischer from comment #1)
> Hi Magnuse, not sure I understand yet - is the problem that the email is
> sent out at all or that it is sent out when it shouldn't be?

Yeah, with the current settings I would expect no messages to be sent.

> I think to deactivate you'd just delete the notice.

We can try that.
Comment 3 David Cook 2022-12-06 05:50:34 UTC
Closing this due to age since the automatic renewals have had a lot of changes over the past couple years