Bug 719964 - [webadmin] Redirect user to login form when user is not logged in
Summary: [webadmin] Redirect user to login form when user is not logged in
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-webadmin
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: m2
: 3.1
Assignee: Vojtech Szocs
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: nogah-admin-ms1
TreeView+ depends on / blocked
 
Reported: 2011-07-08 14:36 UTC by Asaf Shakarchi
Modified: 2012-08-09 08:03 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-09 08:02:06 UTC
oVirt Team: ---


Attachments (Terms of Use)

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/


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