Status: Closed (View Workflow)
Standard Bug Write-Up Format customfield_11100 43646
EPAM-Veg Sprint 107, EPAM-Veg Sprint 108, EPAM-Veg Sprint 109, EPAM-Veg Sprint 110, EPAM-Veg Sprint 111, EPAM-Veg Sprint 112, EPAM-Veg Sprint 113, EPAM-Veg Sprint 114, EPAM-Veg Sprint 115
Request creation endpoint /circulation/requests ignores manual patron block if it does not have an expiration date.
Steps to Reproduce:
Reproducible only when called directly via API.
When trying to create a request via UI, manual blocks are checked preemptively and handled correctly by front end.
- block requesting manually for a user, but do not set block expiration date
- send a valid POST request to /circulation/requests
- requesting fails, response contains a 422 error: "Patron blocked from requesting"
- request is created successfully, manual patron block is ignored
Hint for dev: