https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33477
Bug ID: 33477
Summary: POST /holds/ allows invalid item-level hold if
biblio_id and item_id are both specified
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: REST API
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
To reproduce:
1. Locate or create a bib with multiple items
2. Set one item to type "Reference" and the rest to type "Book"
3. Go to the Circulation and Fines Rules > "Default holds policy by item type"
section, and add a line specifying No Holds Allowed for Reference item type
4. Attempt to place an item-level hold on the Reference-type item via the REST
API,
specifying only the parameters:
patron_id, item_id, and pickup_library_id
5. Confirm expected error message: Hold cannot be placed. Reason: notReservable
6. Attempt to place an item-level hold on the Reference-type item via the REST
API,
specifying only the parameters:
patron_id, item_id, biblio_id, and pickup_library_id
7. Observe that an item-level hold has been placed on the Reference-type item,
even
though it should not be holdable
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/