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

Unable to Place Recalls via Instance Hold Endpoint (/circulation/requests/instances) When Item is Checked out with a Fixed Due Date Schedule

    XMLWordPrintable

Details

    • EPAM-Veg Sprint 134, EPAM-Veg Sprint 135
    • 5
    • Vega
    • Lotus (R1 2022) Bug Fix
    • Yes
    • Approved 2/16/22
    • Hide
      Grant the user that is being used to submit requests (via mod-patron or otherwise) the following permissions:

      Circulation storage - get fixed due date collection
      Circulation storage - get individual fixed due date
      Show
      Grant the user that is being used to submit requests (via mod-patron or otherwise) the following permissions: Circulation storage - get fixed due date collection Circulation storage - get individual fixed due date
    • !!!ALL!!!
    • Incomplete/missing requirements

    Description

      Overview:

      When attempting to place an instance-level (TLR-lite) request that would result in a Recall via edge/mod-patron using mod-circulation API:

      /circulation/requests/instances

      request creation will fail if the item has an open loan with a fixed due date schedule loan policy. Holds behave normally via this API in the same circumstance, item-specific recalls via edge/mod-patron also work, and recalls can also be created via ui-requests.

      Steps to Reproduce:

      1. Log into an environment with Juniper HF4 that is set up with Patron Empowerment in EDS or another discovery environment using edge/mod-patron
      2. Find an instance with a single associated item
      3. Check out the item to a patron that would result in it having a fixed due date schedule loan policy
      4. Set up a circulation rule with a "page-or-recall" or "recall-only" request policy that would apply to a user you can use to place a request via EDS or using the edge/mod-patron instance request APIs
      5. Attempt to create an instance request via EDS or edge/mod-patron APIs for that user

      Expected Results:

      Item with fixed due date loan is recalled.
      Actual Results:

      Request creation fails.
      Additional Information:
      URL:
      Interested parties:
       
       

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                mykyta_varenyk Mykyta Varenyk
                brookstravis Brooks Travis
                Brooks Travis Brooks Travis
                Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases