Change in ovirt-engine[ovirt-engine-3.6]: core: avoid NPE on add template when balloonEnabled is null

tnisan at redhat.com tnisan at redhat.com
Wed Nov 4 16:48:18 UTC 2015


Tal Nisan has submitted this change and it was merged.

Change subject: core: avoid NPE on add template when balloonEnabled is null
......................................................................


core: avoid NPE on add template when balloonEnabled is null

When importing an image as template from Glance,
'balloonEnabled' is null. Consequently, an NPE
is thrown on VmDeviceUtils -> copyVmDevices.

Since 'balloonEnabled' been defaulted to null on
I16adef671bc77e26f56657add59621a1aa9b1c4a,
fixed by comparing to TRUE.

Change-Id: Ie54212974b8deea6141d0a1b07dca393565e1dc0
Bug-Url: https://bugzilla.redhat.com/1275629
Signed-off-by: Daniel Erez <derez at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddVmTemplateCommand.java
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Jenkins CI: Passed CI tests
  Daniel Erez: Verified
  Oved Ourfali: Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie54212974b8deea6141d0a1b07dca393565e1dc0
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.6
Gerrit-Owner: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list