[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
Thu Mar 5 13:48:28 CET 2015


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

Jonathan Druart <jonathan.druart at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #36568|0                           |1
        is obsolete|                            |
  Attachment #36570|0                           |1
        is obsolete|                            |

--- Comment #9 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 36576
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=36576&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.

Signed-off-by: Sophie Meynieux <sophie.meynieux at biblibre.com>

Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>

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


More information about the Koha-bugs mailing list