Bug 1228844

Summary: Control Explorer: Error when clicking on Policy in Policies accordion
Product: Red Hat CloudForms Management Engine Reporter: Harpreet Kataria <hkataria>
Component: UI - OPSAssignee: Greg Piatigorski <gpiatigo>
Status: CLOSED ERRATA QA Contact: Milan Falešník <mfalesni>
Severity: high Docs Contact:
Priority: high    
Version: 5.5.0CC: hkataria, jhardy, mpovolny, obarenbo
Target Milestone: GA   
Target Release: 5.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.5.0.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-08 13:16:20 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 Harpreet Kataria 2015-06-05 21:34:24 UTC
Description of problem: Control Explorer: Error when clicking on Policy in Policies accordion. Control explorer is unusable without being able to click on any of the policies.


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


How reproducible:100%


Steps to Reproduce:
1. Go to Control Explorer
2. try clicking on any policy in the Policies accordion, it blows up with error:
[----] F, [2015-06-05T17:21:43.746271 #24387:c2de90] FATAL -- : Error caught: [NameError] undefined local variable or method `title' for #<#<Class:0x00000018b09998>:0x00000018037da8>
3.

Actual results: blows up with error:
[----] F, [2015-06-05T17:21:43.746271 #24387:c2de90] FATAL -- : Error caught: [NameError] undefined local variable or method `title' for #<#<Class:0x00000018b09998>:0x00000018037da8>


Expected results: Should load Policy details screen.


Additional info:

Comment 2 Greg Piatigorski 2015-06-05 21:53:18 UTC
PR created: https://github.com/ManageIQ/manageiq/pull/3084

Comment 3 CFME Bot 2015-06-05 22:16:04 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/fb9e6d568446a28143a854cfdf9791c81deca5dd

commit fb9e6d568446a28143a854cfdf9791c81deca5dd
Author:     Greg Piatigorski <gpiatigo>
AuthorDate: Fri Jun 5 14:47:30 2015 -0700
Commit:     Greg Piatigorski <gpiatigo>
CommitDate: Fri Jun 5 14:47:30 2015 -0700

    Policy Selection display error fix
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1228844

 vmdb/app/views/miq_policy/_policy_details.html.haml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 4 Milan Falešník 2015-09-16 08:53:19 UTC
Checked in upstream build from 0911. The policy details can be loaded without any problems.

Comment 5 Milan Falešník 2015-09-30 14:16:58 UTC
Checked in 5.5.0.2-alpha1.1

Comment 7 errata-xmlrpc 2015-12-08 13:16:20 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/RHSA-2015:2551