Bug 26463 - AllowHoldPolicyOverride overrides too many holds policies
Summary: AllowHoldPolicyOverride overrides too many holds policies
Status: ASSIGNED
Alias: None
Product: Koha
Classification: Unclassified
Component: Hold requests (show other bugs)
Version: master
Hardware: All All
: P5 - low major (vote)
Assignee: Tomás Cohen Arazi
QA Contact: Testopia
URL:
Keywords:
Depends on: 31169
Blocks:
  Show dependency treegraph
 
Reported: 2020-09-15 11:00 UTC by Nick Clemens
Modified: 2022-07-16 13:45 UTC (History)
5 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.