Details
-
Bug
-
Status: Closed (View Workflow)
-
P3
-
Resolution: Done
-
None
-
-
Concorde - Sprint 64
-
2
-
Concorde
Description
There is currently an error when a user tries to change the due date for the loan because of the new borrower field
Failed to update loan (422:{"errors":[{"message":"Unrecognized field \"borrower\" (class org.folio.rest.jaxrs.model.Loan), not marked as ignorable (17 known properties: \"dueDate\", \"checkinServicePointId\", \"itemStatus\", \"userId\", \"actionComment\", \"systemReturnDate\", \"itemId\", \"metadata\", \"status\", \"proxyUserId\", \"action\", \"renewalCount\", \"id\", \"checkoutServicePointId\", \"loanPolicyId\", \"loanDate\", \"returnDate\"])\n at [Source: (String)\"{\n \"id\" : \"042c5379-315c-45b8-b237-8a0ea9e7fc73\",\n \"userId\" : \"e63273e7-48f5-4c43-ab4e-1751ecacaa21\",\n \"itemId\" : \"7212ba6a-8dcf-45a1-be9a-ffaa847c4423\",\n \"status\" : {\n \"name\" : \"Open\"\n },\n \"loanDate\" : \"2019-05-29T15:44:25Z\",\n \"dueDate\" : \"2019-05-31T03:59:00Z\",\n \"action\" : \"dueDateChanged\",\n \"loanPolicyId\" : \"43198de5-f56a-4a53-a0bd-5a324418967a\",\n \"checkoutServicePointId\" : \"3a40852d-49fd-4df2-a1f9-6e2641a6e91f\",\n \"borrower\" : {\n \"firstName\" : \"Perry\",\n \"lastName\" : \"Jast\"\"[truncated 101 chars]; line: 13, column: 17] (through reference chain: org.folio.rest.jaxrs.model.Loan[\"borrower\"])","type":"1","code":"-1","parameters":[{"key":"","value":""}]}]})