Bug 1221871 - It sometimes pop up an error dialog when select a product then click refresh button immediately in advanced search page
Summary: It sometimes pop up an error dialog when select a product then click refresh ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Bugzilla
Classification: Community
Component: Query/Bug List
Version: 4.4
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: 4.4
Assignee: Jeff Fearn 🐞
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On: 1157849
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-15 05:56 UTC by Rony Gong 🔥
Modified: 2018-12-09 06:29 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-09-20 23:29:47 UTC
Embargoed:


Attachments (Terms of Use)

Description Rony Gong 🔥 2015-05-15 05:56:39 UTC
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.

Comment 1 Rony Gong 🔥 2015-05-15 06:29:40 UTC
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.

Comment 2 Jeff Fearn 🐞 2015-05-15 06:30:19 UTC
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.

Comment 3 Rony Gong 🔥 2015-06-16 07:41:31 UTC
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

Comment 4 Matt Tyson 🤬 2015-09-20 23:29:47 UTC
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.


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