Bug 823339

Summary: In advanced search when you change the product it takes a really long time to update the component list
Product: [Community] Bugzilla Reporter: Simon Baird <sbaird>
Component: Query/Bug ListAssignee: Simon Green <sgreen>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.2CC: asersen, burnhub92, chyang, cpelland, djasa, drieden, ebaak, jbastian, jingwang, jzhao, ltroan, mcrha, mkudlej, mmatsuya, notting, ondrejj, pierre-bugzilla, ppisar, pschindl, rmancy, yawli, ykaul
Target Milestone: 4.2-4   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 4.2.2-4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-30 23:39:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Simon Baird 2012-05-21 00:17:04 UTC
Even though there are many thousands of components, I don't think it should take more than a couple of seconds.

I timed it at 15 seconds and I think sometimes it takes longer. Fedora/Fedora is a good one to test since it has the most components.

My guess is there is some code in here [1] that is slower than is should be.

[1] https://bugzilla.redhat.com/js/productform.js

Comment 1 Pierre Ossman 2012-05-21 18:18:33 UTC
It also tends to lock up Firefox completely, and trigger it's warning to kill errant scripts.

Comment 2 Jeff Bastian 2012-05-22 16:28:07 UTC
It takes a minimum of 20 seconds on my system (with a Core i7) to load the Fedora component list and Firefox is completely unusable during that time.

I've also had an warning pop-up saying my extensions (e.g., It's All Text) are taking too long to run while waiting for the component list.

Please bring back the "Refresh Components" button from Bugzilla 3.x

Comment 3 Pierre Ossman 2012-05-22 17:05:43 UTC
Preferably the script would just be better at not locking up the browser while it works.

A busy indicator would also be nice.

Comment 4 Simon Green 2012-06-21 05:31:50 UTC
*** Bug 823402 has been marked as a duplicate of this bug. ***

Comment 5 Simon Green 2012-06-21 05:31:58 UTC
*** Bug 826878 has been marked as a duplicate of this bug. ***

Comment 6 Simon Green 2012-06-21 05:33:05 UTC
*** Bug 826839 has been marked as a duplicate of this bug. ***

Comment 7 Simon Green 2012-06-21 05:33:14 UTC
*** Bug 826669 has been marked as a duplicate of this bug. ***

Comment 8 Simon Green 2012-06-21 05:33:23 UTC
*** Bug 834155 has been marked as a duplicate of this bug. ***

Comment 9 Simon Green 2012-06-21 05:41:35 UTC
I've marked a lot of bugs as a duplicate of this one because they will have a common fix.

Because RHBZ have some products that have thousand of components I feel we're going to need to go back to the old style of 'click here to reload the components' when a product or classification is selected.

For those reporting the 'list of X doesn't show valid value' bugs, this will be fixed a side effect on introducing this change.

For browers that have Javascript enabled, the components select box will be changed with a link to reload the component list (which does a page reload). For non Javascript browsers, there will be a permanent button that does the same thing.

Comment 10 Simon Baird 2012-06-25 01:15:25 UTC
I still think that js should be able to finish whatever it's doing in a sensible amount of time.

Comment 13 Simon Green 2012-08-14 00:41:28 UTC
*** Bug 847738 has been marked as a duplicate of this bug. ***

Comment 14 Simon Green 2012-08-14 00:41:37 UTC
*** Bug 847628 has been marked as a duplicate of this bug. ***

Comment 15 Simon Green 2012-08-14 01:07:37 UTC
*** Bug 844887 has been marked as a duplicate of this bug. ***

Comment 16 Simon Green 2012-08-14 01:07:51 UTC
*** Bug 844890 has been marked as a duplicate of this bug. ***

Comment 17 Simon Green 2012-08-14 01:12:34 UTC
*** Bug 842266 has been marked as a duplicate of this bug. ***

Comment 18 Simon Green 2012-08-14 01:12:47 UTC
*** Bug 842004 has been marked as a duplicate of this bug. ***

Comment 19 Simon Green 2012-08-14 01:31:45 UTC
*** Bug 828646 has been marked as a duplicate of this bug. ***

Comment 20 Simon Green 2012-08-14 01:35:39 UTC
*** Bug 823341 has been marked as a duplicate of this bug. ***

Comment 21 Simon Green 2012-08-14 03:58:16 UTC
*** Bug 823519 has been marked as a duplicate of this bug. ***

Comment 23 Simon Green 2012-08-16 03:35:02 UTC
*** Bug 829951 has been marked as a duplicate of this bug. ***

Comment 24 Simon Green 2012-08-17 01:04:40 UTC
*** Bug 831696 has been marked as a duplicate of this bug. ***

Comment 25 wangjing 2012-08-27 01:51:22 UTC
It went back to the old style of 'click here to reload the components' when a product or classification is selected, we can click the refresh button.
Verified.