Bug 784120

Summary: Save button on User's account setting page is active even when displayed as inactive
Product: [Retired] Subscription Asset Manager Reporter: Eric Sammons <esammons>
Component: katelloAssignee: Tom McKay <tomckay>
Status: CLOSED CURRENTRELEASE QA Contact: SAM QE List <sam-qe-list>
Severity: high Docs Contact:
Priority: high    
Version: 1.0.0CC: bkearney, tomckay
Target Milestone: rcKeywords: Triaged
Target Release: 1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 795447 (view as bug list) Environment:
katello-httpd-ssl-key-pair-1.0-1.noarch candlepin-tomcat6-0.5.8-1.el6.noarch katello-headpin-0.1.122-2.el6.noarch katello-cli-headpin-0.1.13-2.el6.noarch katello-certs-tools-1.0.1-2.el6.noarch katello-headpin-all-0.1.122-2.el6.noarch thumbslug-0.0.21-1.el6.noarch katello-cli-common-0.1.32-2.el6.noarch katello-configure-0.1.49-2.el6.noarch katello-common-0.1.165-2.el6.noarch katello-trusted-ssl-cert-1.0-1.noarch candlepin-0.5.8-1.el6.noarch katello-glue-candlepin-0.1.165-2.el6.noarch katello-qpid-broker-key-pair-1.0-1.noarch
Last Closed: 2012-04-27 00:21:12 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: 795447    
Bug Blocks:    
Attachments:
Description Flags
Save button to inactive until all fields for password are entered none

Description Eric Sammons 2012-01-23 21:18:43 UTC
Description of problem:
It is possible to click on the Save_password button off the User's account settings page though the save button is greyed out.

Steps to Reproduce:
1. Login to SAM/Headpin as admin
2. Navigate to account settings via li.hello (username in right corner)
3. Note save password button is greyed out (nothing is entered in password field so this state is expected.)
  
Actual results:
Click on the Save Button and Receive 200 OK on a PUT Request; response data "passwordat least 5 characters".  And save button now takes on a fully active state, not greyed out.


Expected results:
Button should be greyed out until matching passwords are entered into the password and confirm fields.


Additional info:
Also note that the Response data is _never_ received / seen by the user, must use firebug or some other http debug tool / method to see response.

Comment 4 Eric Sammons 2012-04-04 14:51:14 UTC
VERIFIED 

katello-headpin-all-0.1.145-1.el6.noarch

Comment 5 Tazim Kolhar 2012-04-09 09:39:17 UTC
Created attachment 576150 [details]
Save button to inactive until all fields for password are entered

Verified the bug 

katello-headpin-0.1.145-1.el6.noarch