Change in ovirt-engine[master]: webadmin: Adding null check for cluster in VolumePopup

gchaplik at redhat.com gchaplik at redhat.com
Wed Jun 27 14:17:17 UTC 2012


Gilad Chaplik has submitted this change and it was merged.

Change subject: webadmin: Adding null check for cluster in VolumePopup
......................................................................


webadmin: Adding null check for cluster in VolumePopup

A NPE was thrown in the user tries to add bricks without selecting
any cluster. Add Bricks button will be disabled if the cluster list
empty or no cluster selected.

Change-Id: Ia249bd879351ede027492f9a44acddf27fe7a530
Signed-off-by: Kanagaraj M <kmayilsa at redhat.com>
---
M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/gluster/VolumeModel.java
1 file changed, 13 insertions(+), 6 deletions(-)

Approvals:
  Gilad Chaplik: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/5607
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia249bd879351ede027492f9a44acddf27fe7a530
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Kanagaraj M <kmayilsa at redhat.com>
Gerrit-Reviewer: Gilad Chaplik <gchaplik at redhat.com>
Gerrit-Reviewer: Kanagaraj M <kmayilsa at redhat.com>
Gerrit-Reviewer: Shireesh Anjal <sanjal at redhat.com>
Gerrit-Reviewer: Tomas Jelinek <tjelinek at redhat.com>



More information about the Engine-commits mailing list