Bug #69267 Add account loads existing user when user list is sorted
Submitted: 17 May 2013 14:20 Modified: 31 Jul 2013 15:23
Reporter: Mark Morgan Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: Administration Severity:S3 (Non-critical)
Version:5.2.47 OS:Windows (Win7 x64)
Assigned to: CPU Architecture:Any

[17 May 2013 14:20] Mark Morgan
Description:
When attempting to add a new user account for a database via "Server Administration / Users and Privileges," and when the list of user accounts is sorted by user name (via clicking the column header in the listbox), then the wrong user will appear in the edit form (not the newuser account created).

This does not occur if the user listbox is not sorted prior to clicking the add account button.

How to repeat:
1. Open MySQL Workbench
2. Double click database name under Server Administration
3. Select "Users and Privileges"
4. In the list of existing users, click the "User" column header to sort the list by user name
5. Click "Add Account"

At this point, details for an existing user are loaded into the form instead of the newly created user "newsuer."  If you then click "Revert," the newuser account remains in the list until a Refresh.
[17 May 2013 14:24] Mark Morgan
Updated Synopsis wording to be more specific
[17 May 2013 17:28] MySQL Verification Team
Thank you for the bug report.
[31 Jul 2013 15:23] Philip Olson
Fixed as of MySQL Workbench 6.0.4, and here's the changelog entry:

Under "Server Administration", "Users and Privileges", clicking "Add
Account" after sorting the list by "User" would load the details of an
existing user.

Thank you for the bug report.