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

Consider TLR when creating recall requests

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed (View Workflow)
    • Priority: TBD
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 23.0.0
    • Labels:
      None
    • Template:
    • Sprint:
      EPAM-Veg Sprint 129
    • Story Points:
      3
    • Development Team:
      Vega
    • Release:
      Lotus R1 2022
    • Epic Link:

      Description

      When creating a new request with TLR feature enabled, we search only for requester's open loans (1), while we should also look for other patrons' loans for the requested instance. If we don't, if we try to create a recall request we will fail to update the existing loan (2).

       

      (1) org.folio.circulation.resources.RequestFromRepresentationService#fetchItemAndLoan

      (2) org.folio.circulation.domain.UpdateLoan#onRequestCreateOrUpdate

       

      As discussed with Stephanie Buck, when trying to create a title-level request, and multiple open loans exist for items of the requested instance, we should recall the loan with the closest due date. In such case, item should be linked to a title-level request (itemId and holdingsRecordId fields should be filled)

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases