Bug 1319751

Summary: UI:undefined method `clear' for nil:NilClass when validating for Red Hat Satellite Provider with invalid credentials
Product: Red Hat CloudForms Management Engine Reporter: Aziza Karol <akarol>
Component: UI - OPSAssignee: Brian McLaughlin <bmclaugh>
Status: CLOSED WORKSFORME QA Contact: Aziza Karol <akarol>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.4.0CC: hkataria, jhardy, mpovolny, obarenbo
Target Milestone: GAFlags: akarol: automate_bug+
Target Release: 5.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: validation
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-04 02:36:07 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:

Description Aziza Karol 2016-03-21 12:31:32 UTC
Created attachment 1138578 [details]
err

Description of problem:


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

How reproducible:
100%

Steps to Reproduce:
1.Navigate to infrastructure->configuration management
2.Add a provider with invalid credentials and click on validate
3.

Actual results:
undefined method `clear' for nil:NilClass  displayed in UI. see attached screenshot

Expected results:


Additional info:

Comment 2 Brian McLaughlin 2016-05-04 02:36:07 UTC
Reproduced issue in 5.4.z (flash message contents "undefined method `clear' for nil:NilClass").

Confirmed that issue is functioning as expected in 5.5.z and 5.6.z.  The flash message states "401 Unauthorized".