Description of problem: When you first click on the https://bugzilla.redhat.com/query.cgi?format=simple page the page locks up while the ajax calls to load Versions/Components/Milstones complete. Even though there is no product intially selected. This is painful when I want to go to the simple page but then get to the Advanced page asap. I think it would be better for the user experience, and less stress full on system resources if it didn't call ajax to load the Version/Components/Milestones until a product is selected. After all, for which product is it loading these fields when no product is selected on the initial view? ditto for the advanced screen. So initially all the user sees is the product list to choose from.
Currently this done at first load so that if any form values are passed in they will be automatically selected such as product/component/version and that the lists will look correct. This is critical for things like editing stored queries, etc. A fix would be to define a javascript variable that is true/false depending on whether any form data was passed to the cgi. Then also had another var called firstrun that is set to 1 when the page first loads and then set to 0 once the products have been updated once. Then in the jscript code do check: if ( formdata == 1 && firstrun == 0 ) { update select lists set formdate = 0 set firstrun = 0 } else { do nothing }
ooops should be: if ( formdata == 1 || firstrun == 0 ) { update select lists set formdata = 0 set firstrun = 0 } else { do nothing }
Created attachment 289311 [details] Patch to disable use of ajax on first page load if no form data present
Red Hat Bugzilla is now using version 3.2 of the Bugzilla codebase and therefore this bug will need to be re-verified against the new release. With the updated code this bug may no longer be relevant or may have been fixed in the new code. Updating bug version to 3.2.
This is still issue even with the new revised ajax code. *** This bug has been marked as a duplicate of bug 457843 ***