Thanks to visit codestin.com
Credit goes to github.com

Skip to content

New Admin UI: User attributes UI does not refresh, shows stale values #21719

@ice09

Description

@ice09

Before reporting an issue

Area

admin/api

Describe the bug

Related to #21693

I want to change an attribute value on a user:

  1. I click on "Users" in the left main menu
  2. I choose the user I want to change in the "search users" panel
  3. I click on tab "Attributes", change the value of the attribute and click on Save
  4. I click switch to the "Details" tab of the same user and click Save again
  5. If I switch back to the "Attributes" tab, the new values are shown
  6. If I reload the user by clicking on "Users" and choosing the user in the search panel, the old values are shown in the attributes tab (these old values are also stored in the database)

This does not happen if I do not execute step 4 (ie. save of the details tab after save on the attributes tab) - then the new values are stored correctly.

Version

21.1.2

Expected behavior

After saving the values in the attributes tab, the values will not be overwritten with the old values when saving the values again in the details tab.

Actual behavior

Clicking save on the details tab overwrites the new values which have been saved in the attributes tab with the old values before saving.

How to Reproduce?

Follow the steps above, can be reproduced in nightly.

Anything else?

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions