Bug 719964

Summary: [webadmin] Redirect user to login form when user is not logged in
Product: [Retired] oVirt Reporter: Asaf Shakarchi <asaf>
Component: ovirt-engine-webadminAssignee: Vojtech Szocs <vszocs>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: ecohen, iheim, vszocs, ykaul
Target Milestone: m2   
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-08-09 08:02:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 719977    

Description Asaf Shakarchi 2011-07-08 14:36:41 UTC
Error popup is displayed when user is not logged in with error message 'Error: USER_IS_NOT_LOGGED_IN'

Should redirect to login form instead.

Comment 1 Asaf Shakarchi 2011-07-21 12:36:21 UTC
Happens when backend session expires.

Comment 2 Vojtech Szocs 2011-08-02 13:52:17 UTC
This error popup comes from FrontendFailureEventListener.eventRaised()

In this method, there should be some check whether 'failureArgs' correspond to 'USER_IS_NOT_LOGGED_IN' case, and if yes, log the user out like this:

user.logOut(); // CurrentUser user - injected via constructor

Comment 3 Vojtech Szocs 2011-08-17 16:51:25 UTC
Fixed by commit 216dc4ec9d5e80f970118f89920c2bd5059097e1 [webadmin: CommonModel-per-login implementation]

Comment 4 Itamar Heim 2012-08-09 08:02:06 UTC
closing ON_QA bugs as oVirt 3.1 was released:
http://www.ovirt.org/get-ovirt/

Comment 5 Itamar Heim 2012-08-09 08:03:28 UTC
closing ON_QA bugs as oVirt 3.1 was released:
http://www.ovirt.org/get-ovirt/