Uploaded image for project: 'mod-circulation'
  1. mod-circulation
  2. CIRC-1413

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

    XMLWordPrintable

Details

    • EPAM-Veg Sprint 131
    • 0.5
    • Vega
    • Lotus R1 2022
    • !!!ALL!!!, Chalmers

    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: MarieWi

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                bisecomsergiy Sergiy Bichurin
                brookstravis Brooks Travis
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases