[Koha-bugs] [Bug 30838] to_address is misleading for sms transports

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 24 13:52:51 CEST 2022


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

--- Comment #2 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Test plan, 

1) Create a report to list all failed notices

   SELECT borrowernumber, letter_code, message_transport_type, status,
failure_code, time_queued, updated_on, to_address
FROM message_queue
WHERE date(time_queued) BETWEEN <<Sent BETWEEN (yyyy-mm-dd)|date>> AND <<and
(yyyy-mm-dd)|date>> 
ORDER BY time_queued DESC

2) Add an SMS template for the CHECKIN notice
3) Set a patron to use SMS as their preferred notice transport
4) Ensure the patron does not have smsalertnumber set (but does have another
phone number field populated)
5) Trigger the notice
6) Send notices using process_message_queue.pl
7) Confirm you get a failure and that the to_address is populated with a number
that's not in the smsalertnumber
8) Apply the patch
9) Repeat and confirm the to_address is no longer populated
10) Confirm that _send_message_by_sms only ever refers to smsalertnumber

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


More information about the Koha-bugs mailing list