Eldan Shachar has uploaded a new change for review. Change subject: userportal/webadmin: fix missing fields in cloner ......................................................................
userportal/webadmin: fix missing fields in cloner Added fields which were missing in the cloneVM part. The 'edit template-version' feature bypass part of the saving process of a running edited vm with a different template version(code now ignores the model data in this scenario because it represents the new template data which won't be relevant till shutdown). This causes the saving process to be based solely on VmListModel::preSave() which uses this cloner as it's only source of vm data. Change-Id: Id475341c0cb97612927627b0bd5dfca070e19d22 Bug-Url: https://bugzilla.redhat.com/1140569 Signed-off-by: Eldan Shachar <eshac...@redhat.com> --- M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/Cloner.java 1 file changed, 2 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/06/36506/1 diff --git a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/Cloner.java b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/Cloner.java index e7b66e9..7ec5a58 100644 --- a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/Cloner.java +++ b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/Cloner.java @@ -232,6 +232,8 @@ vm.setPredefinedProperties(instance.getPredefinedProperties()); vm.setUserDefinedProperties(instance.getUserDefinedProperties()); vm.setCustomProperties(instance.getCustomProperties()); + vm.setSingleQxlPci(instance.getSingleQxlPci()); + vm.setMinAllocatedMem(instance.getMinAllocatedMem()); return vm; } -- To view, visit http://gerrit.ovirt.org/36506 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Id475341c0cb97612927627b0bd5dfca070e19d22 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Eldan Shachar <eshac...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches