[Koha-bugs] [Bug 24680] Hold modification endpoints don't always work properly

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 21 09:35:37 CET 2020


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

--- Comment #4 from Ere Maijala <ere.maijala at helsinki.fi> ---
Test plan for no priority provided:

1. Create a hold (you can use the UI or API for it, doesn't matter) and take
note of its id and pickup location.

2. Find branchcode for another pickup location.

3. Without the patch, do a PUT request to /api/v1/holds/{id} with the following
JSON:
{
  "pickup_library_id":"<another pickup location>"
}

4. Check the response. It still has the original location pickup_library_id.
Check the hold in the UI, it still has the original pickup location.

5. Apply the patch and do the PUT request again.

6. Check the response. It should now reflect the new location in
pickup_library_id. Check the hold in the UI, it should also have the new pickup
location.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list