Bug 743978

Summary: [webadmin] Need to redirect user to login page on session time out (either in refresh, opening a dialog, performing an action, etc.)
Product: [Retired] oVirt Reporter: Rami Vaknin <rvaknin>
Component: ovirt-engine-webadminAssignee: Asaf Shakarchi <asaf>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: asaf, ecohen, iheim, mgoldboi, yeylon
Target Milestone: ---   
Target Release: 3.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-17 07:49:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Screenshot none

Description Rami Vaknin 2011-10-06 16:13:24 UTC
Created attachment 526746 [details]
Screenshot

Environment:
Dev env, last commit's hash: db5e83410a34eaaf537c37b9bd71cb0c51eb421f, Firefox 7.0

Scenario:
1. Login to the Web Admin, click on the Hosts tab and don't touch the keyboard/mouse until timeout reached (I think default timeout is 30 minutes)
2. After the timeout reached, click on "New" under the "Hosts" tab
Note that nothing indicates that the session timeout reached, all looks the same and there is no warning message for the session timeout

Results:
New Host dialog is opened, but the are no "OK" and "Cancel" buttons, and the "Data Center" and "Host Cluster" values are blank, there is no way to close this windows, unless closing the browser page/tab.

Respected Results:
There should be a warning message informs that "session timeout reached, and by closing this message the view should be switched to the login page.

How Reproducible:
I managed to reproduce it 3 times.

Comment 1 Asaf Shakarchi 2011-10-10 15:44:03 UTC
Committed [19d9c1203a23dd2a6e439b134e46984ce2b49d46]

Comment 2 Rami Vaknin 2012-06-28 20:26:45 UTC
Verified on SI8.
I get the webadmin login page on session timeout.