Bug 1710097

Summary: infinispinner on selecting/deselecting search filter in vms/instances view
Product: Red Hat CloudForms Management Engine Reporter: Ievgen Zapolskyi <izapolsk>
Component: UI - OPSAssignee: Harpreet Kataria <hkataria>
Status: CLOSED CURRENTRELEASE QA Contact: Ievgen Zapolskyi <izapolsk>
Severity: high Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: high    
Version: 5.10.4CC: bmidwood, dmetzger, hkataria, lavenel, mpovolny, mshriver, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.11.0Flags: izapolsk: automate_bug-
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.11.0.5 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1711283 (view as bug list) Environment:
Last Closed: 2019-12-13 15:16:15 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:
Bug Depends On:    
Bug Blocks: 1711283    
Attachments:
Description Flags
screenshot none

Description Ievgen Zapolskyi 2019-05-14 21:01:43 UTC
Created attachment 1568701 [details]
screenshot

Description of problem:
this issue sometimes appears right after selection/deselection but the easiest steps to reproduce it are on Provisioning view

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

How reproducible:
100%

Steps to Reproduce:
1. Add Infra provider (it appears on Cloud providers and etc as well)
2. Go to Compute->Infrastructure->Virtual Machines
3. Choose Vms & Templates accordion
4. type f.e. "test" in search and press Enter
5. change accordion to templates
6. remove search 
7. switch back to Vms & Templates accordion
8. choose Lifecycle->Provision vms

Actual results:
alert with error and infinispinner

Expected results:
no such issue

Additional info:

look at screenshot

Comment 3 CFME Bot 2019-05-17 09:35:56 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/910eaab44eafeca8842d44a9779731168c646387
commit 910eaab44eafeca8842d44a9779731168c646387
Author:     Harpreet Kataria <hkataria>
AuthorDate: Wed May 15 11:53:19 2019 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Wed May 15 11:53:19 2019 -0400

    Do not load advanced search on pre-provisioning screen.

    Due to absence of `@in_a_form` setting, code was trying to load advanced search data on pre-provisioning screen and throwing a `nil` error.

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1710097

 app/controllers/application_controller/miq_request_methods.rb | 1 +
 app/controllers/application_controller/report_data_additional_options.rb | 4 +
 2 files changed, 5 insertions(+)

Comment 5 Ievgen Zapolskyi 2019-06-04 12:56:35 UTC
Verified in 5.11.0.6