[Koha-bugs] [Bug 23357] overdue_notices.pl can send library doubled emails for patrons with no email/sms if both transports enabled

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jul 22 15:46:24 CEST 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23357

--- Comment #1 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 91693
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=91693&action=edit
Bug 23357: Check if generating a duplicate print notice before generating
notice

To test:
 1 - Check out an overdue to a patron
 2 - Set a notice trigger for the same number of days overdue for the patrons
patron type
 3 - Set the trigger to send via email and sms
     You may need to define SMSSendDriver preference to enable SMS, you can put
'Email'
 4 - perl misc/cronjobs/overdue_notices.pl -v -t
 5 - Check the patrons record, 1 notice generated
 6 - Check the db:
     SELECT * FROM message_queue;
 7 - Note the message 'Overdue notices' contains a doulbed content for the
notice
 8 - DELETE * FROM message_queue;
 9 - Apply patch
10 - perl misc/cronjobs/overdue_notices.pl -v -t
11 - Chekc the patron's account, 1 message in 'Notices'
12 - Check the DB
     SELECT * FROM message_queue;
13 - The 'Overdue notices' notice is not doubled

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list