[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:22:38 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27205
--- Comment #7 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 114382
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=114382&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
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list