[Koha-bugs] [Bug 17499] Koha objects for messaging preferences
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri May 12 15:26:11 CEST 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17499
--- Comment #3 from Lari Taskula <lari.taskula at jns.fi> ---
Created attachment 63429
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=63429&action=edit
Bug 17499: Add basic validation for messaging preference
This patch adds simple validation for messaging preferences.
The validation includes
- check that only either borrowernumber or categorycode is given, but not both
- throw exception if patron for the given borrowernumber is not found
- throw exception if category for the given categorycode is not found
To test:
1. Run t/db_dependent/Koha/Patron/Message/Preferences.t
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list