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

--- Comment #1 from Nick Clemens <n...@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.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to