[Bug 33477] New: POST /holds/ allows invalid item-level hold if biblio_id and item_id are both specified
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: koha-bugs@lists.koha-community.org Reporter: emily.lamancusa@montgomerycountymd.gov CC: tomascohen@gmail.com 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.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33477 Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|NEW |RESOLVED --- Comment #1 from Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov> --- *** This bug has been marked as a duplicate of bug 35053 *** -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org