Bug 1467639

Summary: vms/instances view gets broken when user switches to that view from timelines page
Product: Red Hat CloudForms Management Engine Reporter: Ievgen Zapolskyi <izapolsk>
Component: UI - OPSAssignee: Harpreet Kataria <hkataria>
Status: CLOSED NOTABUG QA Contact: Ievgen Zapolskyi <izapolsk>
Severity: high Docs Contact:
Priority: high    
Version: 5.8.0CC: hkataria, izapolsk, jhardy, mpovolny, obarenbo
Target Milestone: GAFlags: izapolsk: automate_bug-
Target Release: 5.8.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ui:vm:timeline
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-09-26 13:15:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Attachments:
Description Flags
exception
none
screenshot none

Description Ievgen Zapolskyi 2017-07-04 12:27:03 UTC
Created attachment 1294179 [details]
exception

Description of problem:
It seems the issue is in either accordion or transitions to Instances/Virtual Machines page. I don't have exact steps but when I go through some combination of steps several times I get this error.
Exception and screenshot are attached.
btw, I saw this error many times with different combinations of steps.

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

How reproducible:
100% but user may need to should run through steps several times 

Steps to Reproduce:
1. Add f.e. azure provider
2. Go to Compute->Clouds->Instances
3. Choose Instances accordion there
4. Click any instance 
5. Click Relationships->Availability Zone on instance details page
6. Open Timelines for that Availability Zone and Click Apply
7. Go to Compute->Clouds->Instances and click All Instances in Instances accordion
8. Go to Compute->Clouds->Availability Zones
9. choose any zone and open Timelines for it
10. Go to Compute->Clouds->Instances again 

Actual results:
somewhere among these steps Instances page gets broken and shows only the following error
"undefined method `deep_clone' for nil:NilClass Did you mean? deep_send [vm_cloud/explorer]"

Expected results:
no such error

Comment 2 Ievgen Zapolskyi 2017-07-04 12:27:43 UTC
Created attachment 1294181 [details]
screenshot

Comment 3 Dave Johnson 2017-07-07 18:22:33 UTC
Ievgen, is this a regression?  Was it working in 5.8.0?

Comment 4 Ievgen Zapolskyi 2017-07-07 20:25:21 UTC
Dave, it isn't regression. It was working before. 
Btw, I don't think it is related to Timelines.  I used such summary because I found steps which allow to 100% reproduce this issue.  
It seems there is one root cause for several BZs and the issue is either in accordion or details page.

Comment 7 Harpreet Kataria 2017-09-26 13:15:21 UTC
closing this BZ since it can no longer be reproduced.

~Harpreet