Uploaded image for project: 'mod-patron'
  1. mod-patron
  2. MODPATRON-21

Hold inaccessible if created without createdDate and expirationDate

    XMLWordPrintable

Details

    • Bug
    • Status: In Review (View Workflow)
    • P3
    • Resolution: Unresolved
    • None
    • None
    • Prokopovych

    Description

      If a hold is placed without specifying createDate or expirationDate (both optional fields), the hold is created but it cannot later be retrieved via GET patron endpoint. The count is correct, but the hold is not present in the array.

      {
        "totalHolds" : 2,
        "holds" : [ {
          "requestId" : "a6c8329e-7619-4cc4-bfe2-a813dc907999",
          "item" : {
            "instanceId" : "e5a80cf5-c4e5-4584-ad7a-0a8afd555f5f",
            "itemId" : "beadf6c4-c497-4dd1-97ef-a54e716f31eb",
            "title" : "10,000 B.C"
          },
          "expirationDate" : "2019-05-08T18:56:33.749+0000",
          "fulfillmentPreference" : "Delivery",
          "status" : "Open - Not yet filled"
        } ],
      

      Note in the above example that only the hold placed with createData and expirationDate is visible in the array.

      Source: https://edge-snd-us-east-1.folio.ebsco.com/patron/account/dfc45e40-f17c-4758-be60-6091a364987c?apikey=eyJzIjoiWFlPWU1wUW02RiIsInQiOiJmczAwMDAwMDAyIiwidSI6ImZzMDAwMDAwMDIifQo=&includeLoans=true&includeCharges=true&includeHolds=true

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                rberger Ryan Berger
                Ryan Berger Ryan Berger
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:

                  TestRail: Runs

                    TestRail: Cases