[Koha-bugs] [Bug 14570] Make it possible to add multiple guarantors to a record
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Aug 12 21:50:58 CEST 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14570
--- Comment #177 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 92161
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=92161&action=edit
Bug 14570: Add error handling to Koha::Patron->add_guarantor
This patch adds checks on the values for the 'relationship'. This is
done to avoid future problems when migrating relationships from the
plain text syspref into (why not) a proper table. And to preserve
consistency.
Tests are added for both the new exceptions and the changes to
Koha::Patron.
To test:
- Apply this patches
- Run:
$ kshell
k$ prove t/Koha/Exceptions.t \
t/db_dependent/Koha/Patron.t
=> SUCCESS: Tests pass!
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list