[Koha-bugs] [Bug 24164] Patron emailer cronjob is not generating unique content for notices

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Dec 3 20:59:21 CET 2019


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

--- Comment #2 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 95983
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=95983&action=edit
Bug 24164: Copy the letter for each email

To test:
1 - Set or have two patrons with emails - note thier borrowernumber for the
report
2 - Create a report - note the report id
SELECT borrowernumber, surname, firstname WHERE borrowernumber IN (##,##);
3 - Create a notice in circulation with code TESTEMAIL
4 - The content should be "[% surname %]"
5 - perl misc/cronjobs/patron_emailer.pl --report ## --notice TESTEMAIL
--module circulation --from anyone at anywhere.com --verbose
6 - Note that the emails both have the same surname
7 - Apply patch
8 - Repeat 5
9 - Emails now have correct content

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


More information about the Koha-bugs mailing list