Bug 1008290

Summary: Cancelling a REST request triggers a failover event
Product: [Community] PressGang CCMS Reporter: Matthew Casperson <mcaspers>
Component: Web-UIAssignee: Matthew Casperson <mcaspers>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.1CC: cbredesen, lnewson
Target Milestone: ---   
Target Release: 1.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-17 23:49:09 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:
Bug Depends On:    
Bug Blocks: 1013825    

Description Matthew Casperson 2013-09-16 05:44:25 UTC
When closing a page with pending REST requests, a failover event is triggered because the REST request is cancelled.

This should be handled better.

Comment 1 Matthew Casperson 2013-10-01 23:40:11 UTC
Fixed in 201310020921

I couldn't actually replicate this behaviour in Chrome 28 or Firefox 24.

I did add a check to prevent a flood of "Unable to find any servers to connect to. Please report this issue to your system administrator." errors. This can be tested by adding the line

1.1.1.1         topika.ecs.eng.bne.redhat.com

to /etc/hosts, and closing and reopening the web browser. Opening a page like /pressgang-ccms-ui-next/#SearchResultsAndTopicView;query;topicIds=3737 where multiple REST calls are initiated will show that the error message only appears once.