Change in ovirt-engine[master]: core: resolve NPE in VM/Template Export

emesika at redhat.com emesika at redhat.com
Thu May 31 09:20:43 UTC 2012


Eli Mesika has submitted this change and it was merged.

Change subject: core: resolve NPE in VM/Template Export
......................................................................


core: resolve NPE in VM/Template Export

When an old template (created before USB support was added to vm
devices) is imported to the system. the UsbPolicy of it is null, this
results in NPE. The sane occurs for VM import.

Change-Id: I6794924558892a4f6999dc0f2257355bae9ca1a7
Signed-off-by: Eli Mesika <emesika at redhat.com>
---
M backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/ovf/OvfTemplateWriter.java
M backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/ovf/OvfVmWriter.java
2 files changed, 5 insertions(+), 2 deletions(-)

Approvals:
  Eli Mesika: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I6794924558892a4f6999dc0f2257355bae9ca1a7
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>



More information about the Engine-commits mailing list