[Koha-bugs] [Bug 14964] Email notices will be queued for patrons with no email address

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Oct 6 14:41:42 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14964

--- Comment #1 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 43161
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43161&action=edit
Bug 14964 - Email notices will be queued for patrons with no email address

If a patron has email messaging preferences set but no email address, a
message will be added to the message queue anyway, but will always end
up 'failed'.

This could be resolved by modifying C4::Letters::enqueue to not enqueue
call EnqueueLetter if the transport is email or sms and no to address is
returned.

Test Plan:
1) Set up patron with checkout messaging preference and no email address
2) Check out an item to the patron
3) Note the message in the message queue with no email address
4) Apply this patch
5) Check out an item to the patron
6) Note no message was queued this time

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


More information about the Koha-bugs mailing list