Bug 1811145

Summary: When using advanced search by field custom attributes the ui remains unresponsive after presenting results
Product: Red Hat CloudForms Management Engine Reporter: Ryan Spagnola <rspagnol>
Component: UI - OPSAssignee: Hilda Stastna <hstastna>
Status: CLOSED ERRATA QA Contact: Gaurav Talreja <gtalreja>
Severity: high Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: unspecified    
Version: 5.10.15CC: bmidwood, greartes, hkataria, juwatts, jwakely, lavenel, mpovolny, obarenbo, ramyar.jahani14256, simaishi
Target Milestone: GAKeywords: ZStream
Target Release: 5.10.16   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: 5.10.16.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-08-27 16:01: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:

Description Ryan Spagnola 2020-03-06 17:30:55 UTC
Description of problem:
When searching for VMs with advanced search by field, Cloudforms shows the results but the screen is grayed out and a manual browser refresh is needed.

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

How reproducible:
Everytime

Steps to Reproduce:
0. Have defined a custom attribute (example: IdClienteSIDI) on VMs

1. Go to COMPUTE -> INFRASTRUCTURE -> VIRTUAL MACHINES
2. Select 'Virtual Machines' (vertical white mid tab)
3. In Search, click the advanced search button (double downward arrow button)
4. The Advanced Search Dialog will show up
5. In "Edit the selected element" select FIELD
6. Select the field VIRTUAL MACHINE: Custom Attribute: ##attribute##
7. Leave the '='
8. Enter a value '######' for the custom attribute "##attribute##" field
9. Click "CONFIRM"
10. Click APPLY
11. The VMs will show up, but the screen will be grayed out (FFOX & CHROMIUM)
12. No errors in evm, automation nor production .log
13. Press F5 to refresh the page
14. The VMs will show up and the screen will NOT be grayed out

Actual results:
ui is unresponsive

Expected results:
ui remains responsive

Additional info:

Comment 4 Harpreet Kataria 2020-03-09 19:52:34 UTC
Fixed in PR https://github.com/ManageIQ/manageiq-ui-classic/pull/5909 , that has been marked to be backported to Hammer.

Comment 5 Hilda Stastna 2020-03-10 12:19:27 UTC
I can confirm that the PR above fixes the bug.

Comment 7 CFME Bot 2020-03-10 13:46:05 UTC
New commit detected on ManageIQ/manageiq-ui-classic/hammer:

https://github.com/ManageIQ/manageiq-ui-classic/commit/45b89d3b03e28969f6345482a952bdba080a55ab
commit 45b89d3b03e28969f6345482a952bdba080a55ab
Author:     Martin Hradil <mhradil>
AuthorDate: Wed Jul 31 10:59:49 2019 +0000
Commit:     Martin Hradil <mhradil>
CommitDate: Wed Jul 31 10:59:49 2019 +0000

    Merge pull request #5909 from bmclaughlin/hide-advanced-search-modal

    Clear modal after Applying advanced search

    (cherry picked from commit 96866070a170a0ae04fbf3c8a4a46628fea6ef8a)

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

 app/views/layouts/_adv_search_footer.html.haml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 9 Gaurav Talreja 2020-08-21 15:08:51 UTC
Verified in 5.10.16.0.20200818145637_5c15daf, Screen is working correctly after applying advanced search.

Comment 12 errata-xmlrpc 2020-08-27 16:01:45 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 (Critical: CloudForms 4.7.16 security, bug fix and enhancement update), 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-2020:3574