Change in ovirt-engine[master]: userportal: Exception when no items in basic view

gchaplik at redhat.com gchaplik at redhat.com
Wed Jun 20 13:07:49 UTC 2012


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 at 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 at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez 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