Details
-
Tech Debt
-
Status: Draft (View Workflow)
-
P3
-
Resolution: Unresolved
-
None
-
None
-
Core: Platform
-
Not Scheduled
Description
Overview: One user record (with probably bad data) blocks the API from returning the entire record set.
Steps to Reproduce: Call the endpoint:
Expected Results: 500 user records in response
Actual Results: 180ish user records in response with this diagnostic message:
{{Cannot deserialize value of type `java.util.Date` from String \"+0000-05-12T00:00:00.000+0000\": not a valid representation (error: Failed to parse Date value '+0000-05-12T00:00:00.000+0000': Cannot parse date \"+0000-05-12T00:00:00.000+0000\": not compatible with any of standard forms (\"yyyy-MM-dd'T'HH:mm:ss.SSSZ\", \"yyyy-MM-dd'T'HH:mm:ss.SSS\", \"EEE, dd MMM yyyy HH:mm:ss zzz\", \"yyyy-MM-dd\"))\n at [Source: (String)\"{\"id\":\"0af250eb-f171-4ed7-bd66-111a364d6bdf\",\"active\":true,\"metadata\":
,\"personal\":
{\"email\":\"Jessica.storch@lmu.de\",\"lastName\":\"Lothbrock\",\"addresses\":[],\"firstName\":\"Lagertha\",\"dateOfBirth\":\"+0000-05-12T00:00:00.000+0000\",\"preferredContactTypeId\":\"002\"},\"proxyFor\":[],\"username\":\"Loth\",\"createdDate\":\"\"[truncated 176 chars]; line: 1, column: 390] (through reference chain: org.folio.rest.jaxrs.model.User[\"personal\"]->org.folio.rest.jaxrs.model.Personal[\"dateOfBirth\"])}}"
Additional Information: Something else strange that might be impacted by this record. If you search for the name jessica in the user interface...the interface indicates no results found...but the api returns 300 records...
URL:
Interested parties:
TestRail: Results
Attachments
Issue Links
- relates to
-
MODUSERS-320 User with invalid date value will break /users/expire/timer API
-
- Closed
-
-
RMB-943 Some dates are not deserialized properly
-
- Open
-