Change in ovirt-engine[master]: webadmin: prevent npe on VdcActionUtils canExecute

derez at redhat.com derez at redhat.com
Wed Oct 30 20:42:49 UTC 2013


Daniel Erez has submitted this change and it was merged.

Change subject: webadmin: prevent npe on VdcActionUtils canExecute
......................................................................


webadmin: prevent npe on VdcActionUtils canExecute

VmSnapshotListModel -> updateActionAvailability:
passing an empty list to VdcActionUtils.canExecute
when VM is null to avoid an NPE.

Change-Id: I63e3570b48f8039642a5f1ce3af1f9c4599d688c
Signed-off-by: Daniel Erez <derez at redhat.com>
---
M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/VmSnapshotListModel.java
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Daniel Erez: Verified; Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I63e3570b48f8039642a5f1ce3af1f9c4599d688c
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list