Bug 1348341

Summary: Policy Simulation detail page blank for VM sub lists (i.e. on Provider or Host)
Product: Red Hat CloudForms Management Engine Reporter: Harpreet Kataria <hkataria>
Component: UI - OPSAssignee: Brian McLaughlin <bmclaugh>
Status: CLOSED CURRENTRELEASE QA Contact: Dmitry Misharov <dmisharo>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 5.6.0CC: cpelland, hkataria, jhardy, mpovolny, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: control
Fixed In Version: 5.7.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1348650 (view as bug list) Environment:
Last Closed: 2017-01-11 20:27:16 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: 1348650    
Attachments:
Description Flags
Policy simulation screen
none
Policy Simulation screen2 none

Description Harpreet Kataria 2016-06-20 21:40:32 UTC
Description of problem: Selecting a few VMs under a Host or Provider, clicking Policy Simulation, then adding a few Policy Profiles, gets blank screen


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


How reproducible:


Steps to Reproduce:
1. Go to host summary screen
2. Select to view list of VMs for the host
3. Select few VMs and press Policy Simulation button from Policy button group.
4. Select a Policy Profile to add and then click on a VM in the list on the screen to see policy simulation details for that VM

Actual results: Screen is blank


Expected results: Policy simulation results for selected VM


Additional info: GH issue link https://github.com/ManageIQ/manageiq/issues/9283

Comment 2 Harpreet Kataria 2016-06-20 21:41:00 UTC
Created attachment 1169990 [details]
Policy simulation screen

Comment 3 Harpreet Kataria 2016-06-20 21:41:23 UTC
Created attachment 1169991 [details]
Policy Simulation screen2

Comment 6 CFME Bot 2016-06-24 17:01:24 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/2c604819ca6a1e3744bbdeccf225b21fc5f91c9e

commit 2c604819ca6a1e3744bbdeccf225b21fc5f91c9e
Author:     Brian McLaughlin <bmclaugh>
AuthorDate: Wed Jun 22 16:35:56 2016 -0400
Commit:     Brian McLaughlin <bmclaugh>
CommitDate: Wed Jun 22 16:36:46 2016 -0400

    Render correct partial for policy simulation detail page
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1348341

 app/views/vm/show.html.haml           |  2 ++
 spec/views/vm/_show.html.haml_spec.rb | 30 ++++++++++++++++++++++++++++++
 2 files changed, 32 insertions(+)
 create mode 100644 spec/views/vm/_show.html.haml_spec.rb

Comment 8 Dmitry Misharov 2016-09-09 09:10:25 UTC
Fixed and verified in 5.7.0.0.20160906172503_12f65cb. Policy simulation results for selected VM is shown.