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

Checkout closes request for different item of the same instance

    XMLWordPrintable

Details

    • EPAM-Veg Sprint 134, EPAM-Veg Sprint 135
    • 1
    • Vega
    • Lotus (R1 2022) Bug Fix
    • Implementation coding issue

    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

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                roman-barannyk Roman Barannyk
                OleksandrVidinieiev Oleksandr Vidinieiev
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases