Bug 1296258

Summary: Hosts Credential/Settings page is blank
Product: Red Hat CloudForms Management Engine Reporter: Nandini Chandra <nachandr>
Component: UI - OPSAssignee: Martin Hradil <mhradil>
Status: CLOSED ERRATA QA Contact: Nandini Chandra <nachandr>
Severity: high Docs Contact:
Priority: high    
Version: 5.5.0CC: cpelland, hkataria, jhardy, jprause, mhradil, mpovolny, obarenbo
Target Milestone: GAKeywords: ZStream
Target Release: 5.6.0Flags: cfme-bot: needinfo?
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ui:host
Fixed In Version: 5.6.0.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1296579 (view as bug list) Environment:
Last Closed: 2016-06-29 15:25:46 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:
Bug Depends On:    
Bug Blocks: 1296579    

Description Nandini Chandra 2016-01-06 18:01:24 UTC
Description of problem:
----------------------


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


How reproducible:
----------------
Always


Steps to Reproduce:
------------------
1.Navigate to the summary page of a provider with multiple hosts.
2.Click Hosts in the Relationships section.
3.Select single or multiple hosts.Click Configuration,then click 'Edit selected items'.


Actual results:
---------------
The resulting Credentials/Settings page is blank.


Expected results:
-----------------
The host Credentials/Settings page shouldn't be blank.


Additional info:
---------------

Comment 2 Nandini Chandra 2016-01-06 23:09:36 UTC
*** Bug 1296259 has been marked as a duplicate of this bug. ***

Comment 3 Martin Hradil 2016-01-07 16:39:37 UTC
https://github.com/ManageIQ/manageiq/pull/6085

Comment 4 CFME Bot 2016-01-07 17:31:02 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/ecc57a0c7e8900093c52962a05621e00df6ba999

commit ecc57a0c7e8900093c52962a05621e00df6ba999
Author:     Martin Hradil <mhradil>
AuthorDate: Thu Jan 7 16:36:06 2016 +0000
Commit:     Martin Hradil <mhradil>
CommitDate: Thu Jan 7 16:36:06 2016 +0000

    angular directives - split start_form_div from auto-focus
    
    in Host form editor, when more than one item is selected, the div that has auto-focus is not actually rendered (ruby-side), so the whole div was never un-hidden
    
    this splits the start-form-div functionality into a separate directive, and moves it to the form in that case.
    
    Other uses of start-form-div can stay the same.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1296258

 app/assets/javascripts/application.js               |  1 +
 app/assets/javascripts/directives/autofocus.js      |  8 +-------
 app/assets/javascripts/directives/start_form_div.js | 11 +++++++++++
 app/views/host/_form.html.haml                      |  6 +++---
 4 files changed, 16 insertions(+), 10 deletions(-)
 create mode 100644 app/assets/javascripts/directives/start_form_div.js

Comment 5 CFME Bot 2016-01-07 19:14:20 UTC
New commit detected on cfme/5.5.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=4f8988772f379ca54a3bd27996c96cd3772ef4fa

commit 4f8988772f379ca54a3bd27996c96cd3772ef4fa
Author:     Martin Hradil <mhradil>
AuthorDate: Thu Jan 7 16:36:06 2016 +0000
Commit:     Martin Hradil <mhradil>
CommitDate: Thu Jan 7 17:57:23 2016 +0000

    angular directives - split start_form_div from auto-focus
    
    in Host form editor, when more than one item is selected, the div that has auto-focus is not actually rendered (ruby-side), so the whole div was never un-hidden
    
    this splits the start-form-div functionality into a separate directive, and moves it to the form in that case.
    
    Other uses of start-form-div can stay the same.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1296258
    (cherry picked from commit ecc57a0c7e8900093c52962a05621e00df6ba999)

 app/assets/javascripts/application.js               |  1 +
 app/assets/javascripts/directives/autofocus.js      |  8 +-------
 app/assets/javascripts/directives/start_form_div.js | 11 +++++++++++
 app/views/host/_form.html.haml                      |  6 +++---
 4 files changed, 16 insertions(+), 10 deletions(-)
 create mode 100644 app/assets/javascripts/directives/start_form_div.js

Comment 6 CFME Bot 2016-01-07 19:14:25 UTC
New commit detected on cfme/5.5.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=03f3715b5669c1a60afbdaa3d773c5d3598af956

commit 03f3715b5669c1a60afbdaa3d773c5d3598af956
Merge: 76c5e54 4f89887
Author:     Dan Clarizio <dclarizi>
AuthorDate: Thu Jan 7 13:51:46 2016 -0500
Commit:     Dan Clarizio <dclarizi>
CommitDate: Thu Jan 7 13:51:46 2016 -0500

    Merge branch 'bz1296579-start-form-div-55' into '5.5.z'
    
    angular directives - split start_form_div from auto-focus
    
    in Host form editor, when more than one item is selected, the div that has auto-focus is not actually rendered (ruby-side), so the whole div was never un-hidden
    
    this splits the start-form-div functionality into a separate directive, and moves it to the form in that case.
    
    Other uses of start-form-div can stay the same.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1296258
    (cherry picked from commit ecc57a0c7e8900093c52962a05621e00df6ba999)
    
    ---
    
    5.5 BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1296579
    clean cherry-pick
    
    See merge request !682

 app/assets/javascripts/application.js               |  1 +
 app/assets/javascripts/directives/autofocus.js      |  8 +-------
 app/assets/javascripts/directives/start_form_div.js | 11 +++++++++++
 app/views/host/_form.html.haml                      |  6 +++---
 4 files changed, 16 insertions(+), 10 deletions(-)

Comment 8 CFME Bot 2016-01-08 09:47:57 UTC
Detected commit referencing this ticket while ticket status is MODIFIED.

Comment 9 Nandini Chandra 2016-04-18 16:53:02 UTC
Verified in 5.6.0.1-beta2.20160413141124_e25ac0e

Comment 11 errata-xmlrpc 2016-06-29 15:25:46 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://access.redhat.com/errata/RHBA-2016:1348