Change in ovirt-engine[master]: engine: User Portal - auto-connect selected only works once ...
tjelinek at redhat.com
tjelinek at redhat.com
Tue Oct 30 08:00:10 UTC 2012
Tomas Jelinek has submitted this change and it was merged.
Change subject: engine: User Portal - auto-connect selected only works once per browser session
......................................................................
engine: User Portal - auto-connect selected only works once per browser session
1. Go to the user portal, where the user only has one VM that is up, have the
Connect Automatically checkbox selected, and login.
2. Logout and repeat.
The console doesn't pop up. The problem was caused by the alreadyOpened
property of the ConnectAutomaticallyManager, which is set to true after the
console is brought up for the first time. This value is not reset after the
user logs out. Fixed by resetting the value on user's logout.
Change-Id: If59f9874d1804e17788f8ef0dc82e4e786f55870
Signed-off-by: Frantisek Kobzik <fkobzik at redhat.com>
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=867134
---
M frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/system/ApplicationInit.java
M frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/utils/ConnectAutomaticallyManager.java
2 files changed, 10 insertions(+), 1 deletion(-)
Approvals:
Tomas Jelinek: Verified; Looks good to me, approved
--
To view, visit http://gerrit.ovirt.org/8851
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: If59f9874d1804e17788f8ef0dc82e4e786f55870
Gerrit-PatchSet: 7
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Frank Kobzik <fkobzik at redhat.com>
Gerrit-Reviewer: Frank Kobzik <fkobzik at redhat.com>
Gerrit-Reviewer: Gilad Chaplik <gchaplik at redhat.com>
Gerrit-Reviewer: Tomas Jelinek <tjelinek at redhat.com>
More information about the Engine-commits
mailing list