[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 May 23 14:39:29 CEST 2017


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

--- Comment #48 from Lari Taskula <lari.taskula at jns.fi> ---
Created attachment 63647
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=63647&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