Checkout closes request for different item of the same instance

Description

Preconditions:

  1. TLR feature is enabled

  2. Instance with at least two items exists

Steps to Reproduce:

  1. Create a title level page request for the instance

  2. Note which item the request was created for, then checkout the second item to a different user

Expected Results: Item is checked out successfully, status of the request does not changed
Actual Results: Item is checked out successfully, but the request is closed even though it was created for a different item

 

Hint for developer: we need to find the not just the first fulfillable request in the queue, but the one that is fulfillable by the item that we are trying to checkout.

See https://github.com/folio-org/mod-circulation/blob/a5dc3018b52eddf636a90c7fb08bed83d30eb78d/src/main/java/org/folio/circulation/domain/UpdateRequestQueue.java#L178

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

2

Checklist

hide

TestRail: Results

Activity

Show:

Stephanie BuckMarch 31, 2022 at 7:34 PM

Verified in bug fest. Also verified via duplicate circ-1450

Roman BarannykMarch 18, 2022 at 12:17 PM

Verified the fix on snapshot. It works as expected

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Vega

Fix versions

Release

Lotus (R1 2022) Bug Fix

RCA Group

Implementation coding issue

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created February 18, 2022 at 9:51 AM
Updated June 28, 2022 at 11:59 AM
Resolved March 18, 2022 at 1:53 PM
TestRail: Cases
TestRail: Runs