Bug 1008290 - Cancelling a REST request triggers a failover event
Summary: Cancelling a REST request triggers a failover event
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: PressGang CCMS
Classification: Community
Component: Web-UI
Version: 1.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 1.2
Assignee: Matthew Casperson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1013825
TreeView+ depends on / blocked
 
Reported: 2013-09-16 05:44 UTC by Matthew Casperson
Modified: 2014-08-04 22:27 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-17 23:49:09 UTC
Embargoed:


Attachments (Terms of Use)

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.


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