[Koha-bugs] [Bug 9016] Multi transport types for notices

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 12 14:54:12 CET 2014


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

--- Comment #96 from Olli-Antti Kivilahti <olli-antti.kivilahti at jns.fi> ---
(In reply to Jonathan Druart from comment #95)
> Created attachment 25899 [details] [review]
> Bug 9016: FIX GetLetters should return all letters
> 
> GetLetters only returns letters with a mtt = email. It should return all
> letter codes in the DB.
> 
> The message_transport_type parameter is never used.
> 
> To reproduce the issue:
> Create a notice with a sms template and no email template.
> Go on the overdue rules configucation page.
> The notice does not appear in the notice list.

Hi there Joubu!
Design fault here. The letter/template is identified by module and code.
You can have duplicate codes.

        $letters{ $letter->{'code'} } = $letter->{'name'};

This overwrites the code when there are overlapping codes in modules.

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


More information about the Koha-bugs mailing list