Bug 1530208

Summary: C&U Host Graph: Drilling graph for VM with Group by some tag gives unexpected error.
Product: Red Hat CloudForms Management Engine Reporter: Nikhil Dhandre <ndhandre>
Component: UI - OPSAssignee: Robin Knaur <rknaur>
Status: CLOSED CURRENTRELEASE QA Contact: Nikhil Dhandre <ndhandre>
Severity: high Docs Contact:
Priority: high    
Version: 5.8.0CC: cpelland, hkataria, lavenel, mpovolny, obarenbo
Target Milestone: GAKeywords: TestOnly
Target Release: 5.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.10.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1531614 1531615 (view as bug list) Environment:
Last Closed: 2018-06-21 20:19:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1531614, 1531615    
Attachments:
Description Flags
Steps to reproduce none

Description Nikhil Dhandre 2018-01-02 09:23:17 UTC
Created attachment 1375554 [details]
Steps to reproduce

Description of problem:
-----------------------
While working with host C&U graphs. I found that without `group by` any tag; If we drill graph for `VM that were running`; It will show proper VMs that were running at that instance. But, If you put some tag in `group by` option like `VM Department` and then drill graph for VM getting unexpected error. 

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


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

Steps to Reproduce:
------------------
1. Navigate to host C&U graphs
2. select Group by option with suitable VM tag
3. try to drill graph for VM

Actual results:
---------------
Unexpected error

undefined local variable or method `typ' for #<HostController:0x00000014153970> Did you mean? tap [host/show]

Expected results:
----------------
It should show that VM


Additional info:
----------------
1. Video attaching for steps 
2. Production Log: http://pastebin.test.redhat.com/543521

Comment 3 CFME Bot 2018-01-04 11:07:16 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:
https://github.com/ManageIQ/manageiq-ui-classic/commit/655e1a12318954507ea6b175bd5807edd50b67f5

commit 655e1a12318954507ea6b175bd5807edd50b67f5
Author:     PanSpagetka <rknaur>
AuthorDate: Wed Jan 3 15:54:21 2018 +0100
Commit:     PanSpagetka <rknaur>
CommitDate: Wed Jan 3 15:57:25 2018 +0100

    Fix typo in get_view_where_clause
    https://bugzilla.redhat.com/show_bug.cgi?id=1530208

 app/controllers/application_controller.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)