Bug #41384 Error when creating a user after trying to create one with mis-matched passwords
Submitted: 11 Dec 2008 1:59 Modified: 4 Mar 2009 11:22
Reporter: Bill Weber Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Enterprise Monitor: Web Severity:S3 (Non-critical)
Version:2.0.0.7122 OS:Any
Assigned to: Josh Sled CPU Architecture:Any

[11 Dec 2008 1:59] Bill Weber
Description:
After getting an error when trying to create a new user giving mis-matched passwords, get the following error when trying to create a valid new user:

U0002 You must log in to access the requested resource

How to repeat:
- install and run dashboard
- Settings tab, Manage Users page
- click "create user"
- give Name and different passwords for Password and Confirm Password
| get error - U0080 Your passwords do not match.
- close error dlg
- give matching passwords for Password and Confirm Password
| get error - U0002 You must log in to access the requested resource
[11 Dec 2008 1:59] Bill Weber
this was tested using both IE and FF on a few different boxes - also, this is a similar (but different) case than http://bugs.mysql.com/bug.php?id=41032
[25 Feb 2009 17:14] Josh Sled
trunk/2.1:

revno: 6740
revision-id: jsled@asynchronous.org-20090225161521-it952ed26pwrf6tj
parent: diego.medina@sun.com-20090225165035-loak8qjhixl7y4pi
committer: Josh Sled <jsled@asynchronous.org>
branch nick: local
timestamp: Wed 2009-02-25 11:15:21 -0500
message:
  Bug#41384: return a new CSRF token on validation error responses to creating/editing users; add a hook into error handling in the popup code to support
[25 Feb 2009 17:18] Josh Sled
Oh, note that this applies to edit user failures, too (password mismatch, already-in-use username, &c.)
[26 Feb 2009 0:12] Keith Russell
Patch installed in versions => 2.0.5.7146.
[26 Feb 2009 19:08] Keith Russell
Moved back to patch pending until 2.1 build.
[2 Mar 2009 22:52] Keith Russell
Patch installed in versions => 2.1.0.1012.
[3 Mar 2009 2:19] Marcos Palacios
Verified fixed in build 2.1.0.1012.
[4 Mar 2009 11:22] Tony Bedford
Entries were added to the 2.1.0 and 2.0.5 changelogs:

After an error was generated due to an incorrect password while trying to create a new user, the following error was obtained when subsequently attempting to create a valid new user:

U0002 You must log in to access the requested resource