[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
Mon Dec 14 14:47:08 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27205
Victor Grousset/tuxayo <victor at tuxayo.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #114382|0 |1
is obsolete| |
--- Comment #8 from Victor Grousset/tuxayo <victor at tuxayo.net> ---
Created attachment 114384
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=114384&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>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list