Done
Details
Assignee
Roman BarannykRoman BarannykReporter
Theodor Tolstoy (One-Group.se)Theodor Tolstoy (One-Group.se)Labels
Priority
P3Story Points
3Sprint
NoneDevelopment Team
VegaRelease
Orchid (R1 2023) Bug FixRCA Group
Implementation coding issueAffected releases
Nolana (R3 2022)Morning Glory (R2 2022)Affected Institution
!!!ALL!!!TestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Roman Barannyk
Roman BarannykReporter
Theodor Tolstoy (One-Group.se)
Theodor Tolstoy (One-Group.se)Labels
Priority
Story Points
3
Sprint
None
Development Team
Vega
Release
Orchid (R1 2023) Bug Fix
RCA Group
Implementation coding issue
Affected releases
Nolana (R3 2022)
Morning Glory (R2 2022)
Affected Institution
!!!ALL!!!
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created February 22, 2023 at 8:20 AM
Updated October 13, 2023 at 10:22 AM
Resolved March 10, 2023 at 3:00 PM
Overview:
Steps to Reproduce:
Using the [Patron API|https://s3.amazonaws.com/foliodocs/api/edge-patron/p/edge-patron.html#patron_account_idinstanceinstanceid_hold_post,] create a Title-level request for an Instance with a Holding, but with no Items attached
Using the same API, cancel the request.
Expected Results:
The request is cancelled:
Actual Results:
Additional Information:
Adding an item after the request was created also renders HTTP 500. If there is an item at the time for the request, the API works as expected.
This HTTP 500 in mod-patron makes the edge-patron call also raise a HTTP 500, which makes the Discovery user experience hard to handle.
Interested parties:
All libraries with a discovery tool/OPAC that allows you to make TLRs on things without Items, All libraries wanting to post requests for things without holdings. Not an uncommon practice when you want to order specific issues of journals. Not sure how common it is for FOLIO libraries. Having Instances without Items is very common though.
Verified in both live Morning Glory environments and in Nolana.