[Koha-bugs] [Bug 27205] Hold routes are not dealing with invalid pickup locations
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Dec 16 16:15:00 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27205
--- Comment #10 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 114447
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=114447&action=edit
Bug 27205: Check valid pickup location on POST /holds
This patch adds a check for valid pickup location to the POST /holds
route. A 400 code is returned if the supplied pickup library is not
valid.
To test:
1. Apply this patch
2. Run;
$ kshell
k$ prove t/db_dependent/api/v1/holds.t
=> SUCCESS: Tests pass!
3. Sign off :-D
Signed-off-by: Victor Grousset/tuxayo <victor at tuxayo.net>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list