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 <[email protected]>
---
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 <[email protected]>
Gerrit-Reviewer: Eli Mesika <[email protected]>
Gerrit-Reviewer: Oved Ourfali <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to