[FOLIO-626] Curriculum Users App - first name last name fields errors Created: 24/May/17 Updated: 12/Nov/18 Resolved: 05/Jun/17 |
|
| Status: | Closed |
| Project: | FOLIO |
| Components: | None |
| Affects versions: | None |
| Fix versions: | None |
| Type: | Umbrella | Priority: | P3 |
| Reporter: | RonB | Assignee: | Peter Murray |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | 45 minutes | ||
| Original estimate: | Not Specified | ||
| Sprint: |
| Description |
|
In following http://dev.folio.org/curriculum/05_set_up_the_folio_users_app.... Sample JSON data load throws error: Json content error Unrecognized field "first_name" (class org.folio.rest.jaxrs.model.Personal), not marked as ignorable (8 known properties: , "middleName", "lastName", "dateOfBirth", "firstName", "email", "mobilePhone", "phone", "preferredContact"]) But also when using the UI and creating/editing users: ERROR: in module @folio/users, operation CREATE on resource 'users' failed with HTTP status 400, saying: Json content error Unrecognized field "first_name" (class org.folio.rest.jaxrs.model.Personal), not marked as ignorable (8 known properties: , "middleName", "lastName", "dateOfBirth", "firstName", "email", "mobilePhone", "phone", "preferredContact"]) |
| Comments |
| Comment by David Crossley [ 25/May/17 ] |
|
The Curriculum is being updated at the moment. Among other things, the sample data files still need to be updated to adhere to the new format. |
| Comment by Peter Murray [ 05/Jun/17 ] |
|
Yes, it looks like the patron schema changed. Here is a sample patron in the new schema: {{ }, With
|