Gustavo Frederico Temple Pedrosa has uploaded a new change for review.

Change subject: webadmin: [Fix] Template without migration downtime
......................................................................

webadmin: [Fix] Template without migration downtime

Template is created with no default value for migration downtime

Change-Id: I478ad01793a9ff22f18d22eb775527252a2ca4b4
Signed-off-by: Gustavo Pedrosa <[email protected]>
---
M 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/TemplateVmModelBehavior.java
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/09/24709/1

diff --git 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/TemplateVmModelBehavior.java
 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/TemplateVmModelBehavior.java
index 85ce2ff..48ca077 100644
--- 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/TemplateVmModelBehavior.java
+++ 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/TemplateVmModelBehavior.java
@@ -184,6 +184,7 @@
         getModel().selectSsoMethod(template.getSsoMethod());
         
getModel().getIsSmartcardEnabled().setEntity(template.isSmartcardEnabled());
         
getModel().getVncKeyboardLayout().setSelectedItem(template.getVncKeyboardLayout());
+        
getModel().setSelectedMigrationDowntime(template.getMigrationDowntime());
 
         
getModel().getKernel_parameters().setEntity(template.getKernelParams());
         getModel().getKernel_path().setEntity(template.getKernelUrl());


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I478ad01793a9ff22f18d22eb775527252a2ca4b4
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.4
Gerrit-Owner: Gustavo Frederico Temple Pedrosa <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to