[Koha-bugs] [Bug 20074] Auth_subfield_structure changes hidden attribute

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Dec 10 16:17:37 CET 2021


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

--- Comment #18 from Thibaud Guillot <thibaud.guillot at biblibre.com> ---
Created attachment 128400
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=128400&action=edit
Add syspref to deal with overdues notification

I took the same test plan as victor but I added the system preference to manage
the case more easily, especially for users who do not have access to the koha
server.

Test plan
1. Check the size of the message queue
     With the following SQL query (using an SQL report if you want)
     SELECT COUNT(*) FROM message_queue;
2. Run misc/cronjobs/overdue_notices.pl
3. Check the size of the message queue
     To ensure that no other overdues will create noise in this test plan.
     Or you can take them into account.
4. Choose a patron with no email address
5. Create an overdue (checkout an item and unfold "Checkout settings"
   and set a date in the past which is compatible with what you find in
   staff:/cgi-bin/koha/tools/overduerules.pl
6. Run misc/cronjobs/overdue_notices.pl
7. Check that you have two new messages in the queue
8. Inspect these two messages
   SELECT * FROM message_queue ORDER BY time_queued DESC LIMIT 2 \G
   1. One has the type "print" and the borrowernumber matching the patron.
   2. The other has
        subject: Overdue Notices
        borrowernumber: NULL
        message_transport_type: email
        and contains "These messages were not sent directly to the patrons."
        This is the one we don't want anymore.
        Because it's now obsolete due to the first message.
9. Apply this patch
10. Change syspref 'EmailOverduesNoEmail' to "Don't send"
11. Delete data from message_queue (if you have access) for a cleaner view
12. Run again misc/cronjobs/overdue_notices.pl
13. Check that only the print message is now generated and not the
      "Overdue Notices" one.

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


More information about the Koha-bugs mailing list