Details
-
Type:
Bug
-
Status: Open (View Workflow)
-
Priority:
TBD
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:None
-
Template:
-
Development Team:None
Description
Overview:
Steps to Reproduce:
- fetch a user from the /users module through the API
- Make sure this user has an address
- Remove the address type Id property from this user
- PUT the user back to FOLIO trying to update it
Expected Results:
A clear, HTTP 4XX error stating that the addressTypeId property is missing from the address
Actual Results:
A silent HTTP 500 is thrown
The following user could be used to validate for bugfest:
{ "username": "ejk266626", "barcode": "1111wwww145", "active": true, "patronGroup": "0fa228a0-b4f3-4a58-b767-04bbf630c2c5", "proxyFor": [], "personal": { "lastName": "Nomen", "firstName": "Nescio", "middleName": "J", "email": "nn@cornell.edu", "addresses": [ { "countryId": "USA", "addressLine1": "15 Brimfield Drive", "city": "Elmira", "region": "NY", "postalCode": "14904", "primaryAddress": true, } ], "preferredContactTypeId": "002" }, "createdDate": "2020-09-16T13:07:09.963+0000", "updatedDate": "2020-09-16T13:07:09.963+0000" }