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

Handle "Unrecognized field "itemEffectiveLocationIdAtCheckOut"" during checkout of available items

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: P2
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 16.7.5
    • Labels:
      None
    • Template:
    • Sprint:
      Core: F - Sprint 76
    • Development Team:
      Prokopovych

      Description

      Steps to reproduce:
      1. Login to folio-snapshot
      2. Navigate to checkout app
      3. Enter user barcode (e.g. 574640275318167) and hit the "Enter" button
      4. Enter item barcode (e.g. 653285216743) and hit the "Enter" button

      Expected result: if an item has not been checked out before, then the item will successfully be checked out without any error modal appearance;

      Actual result: if an item has not been checked out before, then the item will successfully be checked out, but with error modal appearance where backend like error message is displayed;

      Unrecognized field "itemEffectiveLocationIdAtCheckOut" (class org.folio.rest.jaxrs.model.Loan), not marked as ignorable (20 known properties: "itemEffectiveLocationAtCheckOut", "checkinServicePointId", "itemStatus", "userId", "actionComment", "systemReturnDate", "itemId", "metadata", "status", "proxyUserId", "action", "renewalCount", "dueDateChangedByRecall", "id", "checkoutServicePointId", "loanPolicyId", "loanDate", "dueDate", "patronGroupIdAtCheckout", "returnDate"]) at [Source: (String)"{ "id" : "b8fc6664-5274-4a7d-b4b2-7dc9aa694c80", "loanDate" : "2019-11-14T10:16:47Z", "checkoutServicePointId" : "3a40852d-49fd-4df2-a1f9-6e2641a6e91f", "status" : { "name" : "Open" }, "action" : "checkedout", "userId" : "5f9bb63a-66f1-47eb-bc19-f182af2fc3e7", "itemId" : "0b96a642-5e7f-452d-9cae-9cee66c9a892", "itemEffectiveLocationIdAtCheckOut" : "fcd64ce1-6995-48f0-840e-89ffa2288371", "dueDate" : "2019-11-14T11:16:47.000Z", "patronGroupIdAtCheckout" : "ad0bc554-d5bc-4"[truncated 115 chars]; line: 11, column: 42] (through reference chain: org.folio.rest.jaxrs.model.Loan["itemEffectiveLocationIdAtCheckOut"])
      

      Note: likely the issue is caused by the recent PR to mod-circulation module;

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                marcjohnson Marc Johnson
                Reporter:
                Viktor Soroka Viktor Soroka
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases