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

            Bug ID: 43873
           Summary: Patron messages via email or SMS silently fail when
                    selected template has no content
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Staff interface
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]
        Depends on: 40933
  Target Milestone: ---

When using the "Add message" button in the patron record to send a patron
message via email or SMS, the interface lists all existing letters in the
"Patrons (custom message)" module, regardless of whether or not that letter has
email or sms content defined. 

Ideally, the "Patron notice" dropdown would list only letters with email
content when "Add a message for" is set to email and only letters with sms
content when "Add a message for" is set to SMS. 

Failing that, Koha should at least return an alert when no notice is enqueued
due to lack of content. 

To recreate:
- have a patron with both an email address and an SMSalertnumber
- create a notice template in the module "Patrons (custom message)"
- in your template, only put content in the Print section
- on your patron, click "Add message"
- set "Add a message for" to email, select your notice template, click Save
- see no email has been enqueued for your patron
- on your patron, click "Add message"
- set "Add a message for" to SMS, select your notice template, click Save
- see no SMS has been enqueued for your patron


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40933
[Bug 40933] Add SMS support under Add message feature
-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to