Eli Mesika has submitted this change and it was merged.

Change subject: core: ImportVmTemplateCommand fix
......................................................................


core: ImportVmTemplateCommand fix

1) Call VmDeviceUtils.addImportedDevices to add imported Template devices to 
vm_device
2) Fix a bug : id and vm id are not set in the Template interfaces collection, 
this results in
   SQL Exception attempting to insert null value to a key column.

Change-Id: I2c0d0cfc935ad37bd1ee17aa1774b07bbc2c352d
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ImportVmTemplateCommand.java
1 file changed, 6 insertions(+), 11 deletions(-)

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


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I2c0d0cfc935ad37bd1ee17aa1774b07bbc2c352d
Gerrit-PatchSet: 7
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Eli Mesika <emes...@redhat.com>
Gerrit-Reviewer: Eli Mesika <emes...@redhat.com>
Gerrit-Reviewer: Michael Kublin <mkub...@redhat.com>
Gerrit-Reviewer: Moti Asayag <masa...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to