Bug 26463

Summary: AllowHoldPolicyOverride overrides too many holds policies
Product: Koha Reporter: Nick Clemens <nick>
Component: Hold requestsAssignee: Tomás Cohen Arazi <tomascohen>
Status: ASSIGNED --- QA Contact: Testopia <testopia>
Severity: major    
Priority: P5 - low CC: arthur.suzuki, gmcharlt, jonathan.druart, kyle, tomascohen
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17229
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24841
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17247
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11999
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20985
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on: 31169    
Bug Blocks:    

Description Nick Clemens 2020-09-15 11:00:50 UTC
To test:
Enable 'AllowHoldPolicyOverride' system preference

Via the the REST API:
t/db_dependent/api/v1/holds.t fails

Try to place an item level hold:
PUT localhost:8080/api/v1/holds
Body:
{
  "biblio_id":"1",
  "item_id":"1",
  "patron_id":"5",
  "pickup_library_id":"CPL"
}

Repeat ad nauseam, patron now has multiple holds on a single item

Leave those holds in place.

On the staff side:
Hit the URL below:
http://localhost:8081/cgi-bin/koha/reserve/placerequest.pl?biblionumbers=1/4&borrowernumber=5&type=str8
Comment 1 Tomás Cohen Arazi 2022-07-16 13:45:41 UTC
Will take a look on Monday.