[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 Mar 9 10:31:16 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23357
Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #91693|0 |1
is obsolete| |
--- Comment #2 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 100325
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=100325&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
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list