Bug 672684

Summary: can't change username and password at the same time
Product: [Other] RHQ Project Reporter: John Mazzitelli <mazz>
Component: Core UIAssignee: Ian Springer <ian.springer>
Status: CLOSED CURRENTRELEASE QA Contact: Corey Welton <cwelton>
Severity: low Docs Contact:
Priority: low    
Version: 4.0.0.B02CC: ccrouch, skondkar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-24 01:12:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description John Mazzitelli 2011-01-25 20:20:56 UTC
I created a user.

I then went to the user UI again to edit the user. Type a new username. Then go and type a new password (and don't forget to enter the new password in the "verify" field). Click save.

I get this error:

"java.lang.RuntimeException:javax.ejb.EJBException:java.lang.IllegalArgumentException: You cannot set a password for an LDAP user. -> java.lang.IllegalArgumentException:You cannot set a password for an LDAP user."

NOTE: this user is not an LDAP user, I haven't touched the LDAP stuff (it isn't enabled or configured). The UI does tell me this is not an LDAP user ("No" is next to the "LDAP login?" static text field).

Comment 1 Ian Springer 2011-01-25 22:44:28 UTC
Fixed in master (commit 6cd53e7).

Comment 2 Ian Springer 2011-01-25 22:46:22 UTC
Disregard the last comment - I added it to the wrong issue.

Comment 3 Ian Springer 2011-01-25 23:37:38 UTC
Fixed for real in master (commit 0715ed6) - username is no longer editable for existing users.

Comment 4 Sunil Kondkar 2011-03-28 12:14:47 UTC
Verified on build 1090 (Version: 4.0.0-SNAPSHOT Build Number: f19c23e)

Username is not editable for the users. Changed password for a user and logged in with the user credentials. 
No error is observed. Marking as verified.

Comment 5 Corey Welton 2011-05-24 01:12:47 UTC
Bookkeeping - closing bug - fixed in recent release.

Comment 6 Corey Welton 2011-05-24 01:12:47 UTC
Bookkeeping - closing bug - fixed in recent release.

Comment 7 Corey Welton 2011-05-24 01:13:03 UTC
Bookkeeping - closing bug - fixed in recent release.