Bug 761576

Summary: Successive creation of new users fail to validate password
Product: Red Hat Satellite Reporter: Og Maciel <omaciel>
Component: WebUIAssignee: Mike McCune <mmccune>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: mmccune
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-22 18:11:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 747354, 748697, 750919    
Attachments:
Description Flags
Form does not validate none

Description Og Maciel 2011-12-08 16:19:00 UTC
Created attachment 542627 [details]
Form does not validate

Description of problem:

Seems that creating more than one new user in sequence through the web ui have issues validating the password. Will dig further but maybe there's some leftover data from the first user creation process?

Version-Release number of selected component (if applicable):

katello-0.1.130-1.git.0.216c0d8.el6.x86_64

Steps to Reproduce:
1. Click on Administration --> Users --> New User
2. Fill out form for creating a new user and save
3. Click on newly created user from the Users list and change its permissions to Read only
4. Click on New User
5. Fill out form for creating a new user but use the same password you used for the previous user you just created
  
Actual results:

The form does not validate as can be seen in the screenshot attached.

Expected results:


Additional info:

Comment 1 Mike McCune 2011-12-16 18:38:08 UTC
Considering removing the password strength widget for V1

Comment 2 Mike McCune 2011-12-16 19:03:04 UTC
Going ahead with removal of the strength indicator.

Comment 3 Mike McCune 2012-01-18 19:41:53 UTC
commit 8a01020a536705799d60afb7203791f04e13b8e7
Author: Mike McCune <mmccune>
Date:   Wed Jan 18 11:40:26 2012 -0800

    761576 - removing CSS and jquery plugins for simplePassMeter

commit 06922585b3aa845f2b34f833784e19a3e422297a
Author: Mike McCune <mmccune>
Date:   Wed Jan 18 11:33:26 2012 -0800

    761576 - removing the password strength meter
    
    Also fixes 748697. this component was not worth the effort around
    fixing the issues for.

Comment 4 Og Maciel 2012-01-23 15:08:06 UTC
Verified against Katello Version: 0.1.192-1.el6

Comment 5 Mike McCune 2012-01-24 00:40:20 UTC
I mistakenly removed the little text area that shows if your password is mismatched on 2 pages:

1) New User creation
2) Password reset page

Please re-verify that on the above 2 as well as User Edit you get the little confirm box underneath the 2 passwords that is either blank or says:

"The passwords do not match"

Comment 6 Mike McCune 2012-01-24 00:42:24 UTC
additional commit:

commit fe8a179945a9720a820ed5af20f08a4368c26167
Author: Mike McCune <mmccune>
Date:   Mon Jan 23 16:41:10 2012 -0800

    761576 - adding back in the password matching field I took out

Comment 7 Og Maciel 2012-01-24 14:58:41 UTC
Verified on Katello Version: 0.1.194-1.el6