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 <[email protected]>
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 <[email protected]>
Gerrit-Reviewer: Frank Kobzik <[email protected]>
Gerrit-Reviewer: Gilad Chaplik <[email protected]>
Gerrit-Reviewer: Tomas Jelinek <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to