[Koha-bugs] [Bug 12344] Multi transport types for issues and checkins

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jun 2 14:38:39 CEST 2014


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

Benjamin Rokseth <benjamin.rokseth at kul.oslo.kommune.no> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #28605|0                           |1
        is obsolete|                            |

--- Comment #2 from Benjamin Rokseth <benjamin.rokseth at kul.oslo.kommune.no> ---
Created attachment 28606
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=28606&action=edit
Bug 12344 - Multi transport types for issues and checkins

This small patch corrects the order of generating notices for issues and
returns (checkout/checkin) so that borrower's notices are rendered correctly
(for sms,email,etc.)

Test plan:

1) Edit SMSSendDriver syspref to use driver 'Test'
2) Edit CHECKOUT template for sms to 'SMS test'
3) select SMS for test patron's messaging prefs for item checkout
4) checkout an item
5) check the table message_queue, verify that template sms is
   not used (message content is not 'SMS test')

6) apply patch, make new checkout
7) check that message_queue table now has a correctly generated
   notice with 'SMS test'

For a real world test use a real SMS::Send driver and run the
cronjob process-message-queue.pl to send messages immediately.

-- 
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