Bug 1399345 - Selecting a Group Causes UI to Spin Indefinitely
Summary: Selecting a Group Causes UI to Spin Indefinitely
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.6.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.8.0
Assignee: Martin Hradil
QA Contact: Matouš Mojžíš
URL:
Whiteboard:
Depends On:
Blocks: 1412206 1412441
TreeView+ depends on / blocked
 
Reported: 2016-11-28 19:45 UTC by Jared Deubel
Modified: 2020-03-11 15:26 UTC (History)
10 users (show)

Fixed In Version: 5.8.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1412206 1412441 (view as bug list)
Environment:
Last Closed: 2017-06-12 16:32:37 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
production.log (346.07 KB, text/plain)
2016-11-28 19:45 UTC, Jared Deubel
no flags Details
production.log (346.07 KB, text/plain)
2016-12-19 17:16 UTC, Jared Deubel
no flags Details
group_issue_logs.zip (406.11 KB, application/zip)
2016-12-19 17:17 UTC, Jared Deubel
no flags Details

Description Jared Deubel 2016-11-28 19:45:00 UTC
Created attachment 1225458 [details]
production.log

Description of problem:
Under the access control tab, if I click on a group, the screen will turn grey and the spinning animation will begin, but it will continue indefinitely. This only occurs on our master region.

There isn't any indication in the production.log that shows any error or the reason for the delay


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

How reproducible:
100%

Comment 14 Jared Deubel 2016-12-19 17:16:56 UTC
Created attachment 1233446 [details]
production.log

Production.log

Comment 15 Jared Deubel 2016-12-19 17:17:24 UTC
Created attachment 1233447 [details]
group_issue_logs.zip

Comment 22 Keenan Brock 2017-01-03 15:38:52 UTC
This is slow due to building the trees.
And there is one per tab, for a total of 3.
On master, this was moved over to a tree builder, which is much better.

Only running one of these would improve the speed of this page greatly.
(Users will probably complain that each tab would take 20+ seconds.)

Comment 25 CFME Bot 2017-01-04 16:02:51 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:
https://github.com/ManageIQ/manageiq-ui-classic/commit/0a4598af11e97af15477cd5fac870294b2584da8

commit 0a4598af11e97af15477cd5fac870294b2584da8
Author:     Keenan Brock <keenan>
AuthorDate: Tue Jan 3 19:19:37 2017 -0500
Commit:     Keenan Brock <keenan>
CommitDate: Tue Jan 3 19:21:45 2017 -0500

    Don't lookup category names if tag tree view all
    
    This was executing a few hundred extra queries
    
    category.name is the culprit
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1399345

 app/presenters/tree_builder_tags.rb | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

Comment 32 CFME Bot 2017-01-11 14:35:49 UTC
New commit detected on ManageIQ/manageiq/euwe:
https://github.com/ManageIQ/manageiq/commit/c6fb39b9e5b376cad9336e51e931112e4a416195

commit c6fb39b9e5b376cad9336e51e931112e4a416195
Author:     Keenan Brock <kbrock>
AuthorDate: Wed Dec 21 14:21:14 2016 -0500
Commit:     Keenan Brock <kbrock>
CommitDate: Sat Jan 7 18:35:33 2017 -0500

    Don't lookup category names if tag tree view all
    
    This was executing a few hundred extra queries
    
    category.name is the culprit
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1399345

 app/presenters/tree_builder_tags.rb | 23 +++++++++++++++--------
 1 file changed, 15 insertions(+), 8 deletions(-)

Comment 34 Matouš Mojžíš 2017-05-02 11:27:25 UTC
Verified in 5.8.0.12. Only visible tab in groups is rendered.

Comment 35 Matouš Mojžíš 2018-03-15 09:24:10 UTC
This is one time issue so setting qe_test_coverage flag to -.


Note You need to log in before you can comment on or make changes to this bug.