Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create New User -> Name is Blank #37

Closed
jeremy-west opened this issue Apr 20, 2020 · 7 comments
Closed

Create New User -> Name is Blank #37

jeremy-west opened this issue Apr 20, 2020 · 7 comments
Assignees
Labels
front end Issue related to Front End

Comments

@jeremy-west
Copy link
Contributor

Describe the bug
Creating a new user in Backoffice, after saving the user is created but the name is blank.

To Reproduce
Steps to reproduce the behavior:

  1. Go to users.
  2. Add new user.
  3. Enter required details, name, email etc.
  4. Save new user
  5. New user will appear in the user list with no name

Expected behavior
Username should be shown in the user list and when inspecting the user.

Screenshots
If applicable, add screenshots to help explain your problem.
Screen Shot 2020-04-20 at 3 06 57 pm

@jeremy-west jeremy-west added bug front end Issue related to Front End labels Apr 20, 2020
@MrYuion
Copy link
Collaborator

MrYuion commented Apr 20, 2020

@MrYuion MrYuion closed this as completed Apr 20, 2020
@jeremy-west
Copy link
Contributor Author

Issue is still present on pwc dev instance, suggested backend error @stakach

http://pwcme.dev.place.tech/backoffice/#/users/-/about

@stakach
Copy link
Member

stakach commented Apr 22, 2020

old version of backoffice that is sending empty fields to the backend which is setting first and last name fields as blank and then the backend uses those blank fields in priority over the name field which is then set to blank

Updating to the latest version of backoffice will resolve the issue

@MrYuion
Copy link
Collaborator

MrYuion commented Apr 22, 2020

The issue still occurs when the fields are not present.

@jeremy-west
Copy link
Contributor Author

pwc dev is up to date both for placeos and backoffice front end, issue still present.

@MrYuion
Copy link
Collaborator

MrYuion commented Apr 22, 2020

Screen Shot 2020-04-22 at 3 06 16 pm

Screen Shot 2020-04-22 at 3 06 23 pm

@stakach
Copy link
Member

stakach commented Apr 22, 2020

It works now for new users: http://pwcme.dev.place.tech/backoffice/#/users/user-EopbHAp4YUw/about
Just that old user had the first_name and last_name set
Those fields exist for SSO and override whatever is in name

So all good for all new users, delete the old one and you'll be laughing

@stakach stakach closed this as completed Apr 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
front end Issue related to Front End
Projects
None yet
Development

No branches or pull requests

3 participants