Bug 672684 - can't change username and password at the same time
Summary: can't change username and password at the same time
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Core UI
Version: 4.0.0.B02
Hardware: Unspecified
OS: Unspecified
low
low vote
Target Milestone: ---
: ---
Assignee: Ian Springer
QA Contact: Corey Welton
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-25 20:20 UTC by John Mazzitelli
Modified: 2013-08-06 00:38 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-24 01:12:47 UTC


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.