[Koha-bugs] [Bug 16330] REST API: add routes to add, update and delete patrons
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Dec 5 20:45:14 CET 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16330
Tomás Cohen Arazi <tomascohen at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #63650|0 |1
is obsolete| |
--- Comment #54 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 69547
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=69547&action=edit
Bug 16330: Spot unchanged modification-request in Koha::Patron::Modification
Throw Koha::Exceptions::NoChanges if attempting to create a modification
request
without changing anything.
This exception is caught in Patron REST API controller.
Also, validate changes via Koha::Patron->_validate
To test:
1. prove t/db_dependent/Koha/Patron/Modifications.t
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list