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

Refesh user profile information when user changes #2000

Closed
edmundoa opened this Issue Mar 30, 2016 · 0 comments

Comments

Projects
None yet
2 participants
@edmundoa
Member

edmundoa commented Mar 30, 2016

Problem description

When the user edit page is opened, clicking on a link directing to another user edit page, the user data in the page is not properly updated.

Steps to reproduce the problem

  1. Open the user list, and click on "Edit" for one of the users
  2. Open the dropdown in the navbar with your name, and click on "Edit profile"
  3. The page shows now inconsistent data, mixing data from both users

Environment

  • Graylog Version: Graylog 2.0.0-beta.2-SNAPSHOT (ad47def)

@edmundoa edmundoa self-assigned this Mar 30, 2016

@edmundoa edmundoa added bug web labels Mar 30, 2016

@edmundoa edmundoa added this to the 2.0.0 milestone Mar 30, 2016

edmundoa added a commit that referenced this issue Mar 30, 2016

Update user edit form when username changes
When the user edit form page is rendered, we need to re-render all
details if the user changes (clicking on a link editing another user).
These changes take care of using controlled inputs and update the state
properly.

Fixes #2000

@kroepke kroepke added S2 P1 labels Mar 31, 2016

@kroepke kroepke closed this in 8a16f68 Apr 1, 2016

@kroepke kroepke added the triaged label Sep 21, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment