Bug 852536 - Conductor should show notice when Backbone stops updating
Conductor should show notice when Backbone stops updating
Status: NEW
Product: CloudForms Cloud Engine
Classification: Red Hat
Component: aeolus-conductor (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Angus Thomas
Depends On:
  Show dependency treegraph
Reported: 2012-08-28 16:33 EDT by Matt Wagner
Modified: 2014-08-17 18:27 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Matt Wagner 2012-08-28 16:33:14 EDT
Description of problem:
We intentionally do not count Backbone activity as session activity, so that sitting on a page using Backbone won't continually refresh your session and prevent the inactivity timeout from taking place.

However, this leaves a case where a user may be sitting on a page watching for a state change (perhaps an instance goes from "New" to "Running"), and, in that time, their session expires. The user currently receives no notice that this has happened, so they will continue watching for the state change, unaware that Backbone is no longer able to poll for updates.

What we think the best course of action here is to add a little code to detect when Backbone hits an expired session, and display a flash message on the page informing the user that Backbone will no longer automatically update page content.

We have to be careful here, because we do NOT want to display a general "Your session has expired!" message, or automatically redirect the user to the login page. That would lead to inconsistent behavior, where that message would only be displayed on pages that happen to use Backbone, which would likely bewilder users. So the message should be carefully worded and merely indicate that the page will no longer update automatically.

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