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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon May 29 11:56:58 CEST 2017


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

Lari Taskula <lari.taskula at jns.fi> changed:

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

--- Comment #12 from Lari Taskula <lari.taskula at jns.fi> ---
Created attachment 63789
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=63789&action=edit
Bug 17499: Throw an exception on duplicate messaging preference

When trying to add a duplicate messaging preference that has the same
borrowernumber or category, and message_attribute_id as another preference,
throw Koha::Exceptions::DuplicateObject.

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