[Koha-bugs] [Bug 17499] Koha objects for messaging preferences

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed May 31 16:57:31 CEST 2017


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

--- Comment #32 from Lari Taskula <lari.taskula at jns.fi> ---
Created attachment 63878
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=63878&action=edit
Bug 17499: (follow-up) Bugfix for validation, 2

Remove duplicate validation for digest availability. This is already checked in
$preference->validate().

Also prevents a crash when patron has messaging transport type selected for
a message for which it should not be available. This patch logs it with as
a warning, and only throws an exception when attempting to set it.

To test:
1. prove t/db_dependent/Koha/Patron/Message/*

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


More information about the Koha-bugs mailing list