Bug 1203168

Summary: LDAP settings - second validate button shows up when settings are saved
Product: Red Hat CloudForms Management Engine Reporter: Jan Krocil <jkrocil>
Component: UI - OPSAssignee: Martin Hradil <mhradil>
Status: CLOSED ERRATA QA Contact: Milan Falešník <mfalesni>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.4.0CC: hkataria, jhardy, mfalesni, mpovolny, obarenbo
Target Milestone: GA   
Target Release: 5.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-16 12:53:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jan Krocil 2015-03-18 10:22:48 UTC
Description of problem:
There are 2 validate buttons present on the LDAP settings page when saved.

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

How reproducible:
Always

Steps to Reproduce:
1. Go to LDAP authentication settings page
2. Enter LDAP creds
3. Validate
4. Save
5. <= now you have 2 validate buttons present

Actual results:
2 validate buttons (active and inactive one) are present on the page when saved.

Expected results:
Only one validate button should be present.

Additional info:

Comment 3 CFME Bot 2015-03-19 20:25:51 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/da1a97237dbb71484fb0a070a7e5b09e9b9d205a

commit da1a97237dbb71484fb0a070a7e5b09e9b9d205a
Author:     Martin Hradil <mhradil>
AuthorDate: Thu Mar 19 17:24:25 2015 +0000
Commit:     Martin Hradil <mhradil>
CommitDate: Thu Mar 19 17:24:25 2015 +0000

    Fix server authentication tab - haml - duplicate validate button on save
    
    Just negated the condition for the disabled version of the button, introduced in 6f735742
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1203168

 vmdb/app/views/ops/_ldap_verify_button.html.haml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Comment 6 Milan Falešník 2015-04-22 13:38:56 UTC
Verified in 5.4.0.0.22. Only one Validate button is visible after Save.

Comment 8 errata-xmlrpc 2015-06-16 12:53:54 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-1100.html