When Creating a Title Level Request (basic TLR) For an Instance with More than 10 Associated Items, Not All Items are Considered to Fill the Request

Description

Overview:

When creating a request using the basic TLR implementation, only ten items associated with the indicated instance are checked for availability. This leads to situations where holds are being placed on items rather than creating pages for available items (or, I assume, holds on items with longer queues).

Steps to Reproduce:

  1. Log in to https://folio-snapshot.dev.folio.org

  2. Create more than 10 items associated with a single instance

  3. Arrange it so that the first ten items returned by /inventory/items?query=(instance.id==<instanceId>) all have a status other than "Available" (checked out is best), and that one of the remaining is status "Available"

  4. Attempt to create a "title-level request" via mod-patron (eg. /patron/account/<userId>/instance/<instanceId>/hold ) for the above instance record.

Expected Results:

The request results in a Page of an available item.

Actual Results:

A hold request is created for one of the first 10 items.

Additional Information:

It's unclear, to me, how the items are being retrieved to determine which will fill the request in this case. Chalmers was able to verify the behavior in their production environment (Juniper), and I duplicated in snapshot. Best guess is a "limit=10" issue.

Workaround:

Manually reviewing request queues and moving requests to available items (labor-intensive).

URL:
Interested parties:

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:

Brooks TravisJanuary 21, 2022 at 10:17 PM

Verified in snapshot

Sergiy BichurinJanuary 21, 2022 at 2:57 PM

Thank you so much, will wait for news from you.

Brooks TravisJanuary 20, 2022 at 5:02 PM

It will probably be tomorrow (2022-01-21) before I can have a look at it.

Sergiy BichurinJanuary 20, 2022 at 3:20 PM
Edited

Hello ! Could you please check result of the implementation from your side via snapshot or testing envs?

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Vega

Fix versions

Release

Lotus R1 2022

Affected Institution

!!!ALL!!!
Chalmers

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created January 10, 2022 at 7:57 PM
Updated February 22, 2022 at 3:13 PM
Resolved January 21, 2022 at 10:17 PM
TestRail: Cases
TestRail: Runs