Gilad Chaplik has submitted this change and it was merged.
Change subject: userportal: Exception when no items in basic view
......................................................................
userportal: Exception when no items in basic view
If there are no VMs or Pools, the UP's basic view throws an
exception during the load. It is because the
MainTabBasicListPresenterWidget.selectDefault expects,
that at least one VM or Pool is visible for the user.
Solved by avoiding this expectation.
Change-Id: I31b5acd4402aed775d57f4e6ba3ccb5914a93c75
Signed-off-by: Tomas Jelinek <tjelinek(a)redhat.com>
---
M
frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/section/main/presenter/tab/basic/MainTabBasicListPresenterWidget.java
1 file changed, 6 insertions(+), 2 deletions(-)
Approvals:
Gilad Chaplik: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/5470
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I31b5acd4402aed775d57f4e6ba3ccb5914a93c75
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Tomas Jelinek <tjelinek(a)redhat.com>
Gerrit-Reviewer: Daniel Erez <derez(a)redhat.com>
Gerrit-Reviewer: Gilad Chaplik <gchaplik(a)redhat.com>
Gerrit-Reviewer: Tomas Jelinek <tjelinek(a)redhat.com>