Description of problem: It sometimes pop up an error dialog when select a product then click refresh button immediately in advanced search page And This error dialog will disappeared immediately too in firefox Seems there is a conflict of accessing the server service. Version-Release number of selected component (if applicable): 4.4.9033-5 firefox 37.0.2 Chrome 42 How reproducible: Always Steps to Reproduce: 1.Go to advanced search page 2.Select 'Red Hat' for classification. 3.Select product 'RHEL7' then click the button 'Refresh Versions/Releases/Milestones' immediately.(Make sure that component loading/refreshing icon is still showing on the current page) Actual results: It pop up a error dialog: Error: Network error or other unexpected problem Expected results: No error dialog Additional info: It is easy to be reproduced in a bad network.
This kind of error also happened: 1. Open an exist bug 2. Change the product in the product select list, then click the 'Save Changes button' immediately.
This is due to an rpc request being terminated on unloading the page. It might be possible to bind a function to the onbeforeunload event and set a flag to stop the message being displayed.
Tested on QA environment(bzweb01-qe) with version(4.4.9035-1, DB: mysql) QA environment(bzperfweb01.app.qa) with version(4.4.9035-1, DB: psql ) Result: Pass
This change is now live. If there are any issues, do not reopen this bug. Instead, you should create a new bug and reference this bug.