Change in ovirt-engine[ovirt-engine-4.0]: webadmin: Verify that a disk exists when setting its interface.

tnisan at redhat.com tnisan at redhat.com
Sun Jun 26 13:13:35 UTC 2016


Tal Nisan has submitted this change and it was merged.

Change subject: webadmin: Verify that a disk exists when setting its interface.
......................................................................


webadmin: Verify that a disk exists when setting its interface.

In cases where adding a new disk to a VM, the model should add the
default interface. Currently the code wants to infer the interface by
the vm's disk. but since there is no disk, a NPE is thrown.

Change-Id: I17d5d1232db7fd4746fa6543a67d7895e20e99f7
Bug-Url: https://bugzilla.redhat.com/1344367
Signed-off-by: Amit Aviram <aaviram at redhat.com>
---
M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/AbstractDiskModel.java
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Tal Nisan: Looks good to me, approved
  Jenkins CI: Passed CI tests
  Amit Aviram: Verified



-- 
To view, visit https://gerrit.ovirt.org/59783
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I17d5d1232db7fd4746fa6543a67d7895e20e99f7
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-4.0
Gerrit-Owner: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: Amit Aviram <aaviram at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list