Tomas Jelinek has uploaded a new change for review.

Change subject: webadmin: Migration mode was ignored on the edit instance type
......................................................................

webadmin: Migration mode was ignored on the edit instance type

Simple fix by adding the setting to ExistingInstanceTypeModelBehavior.

Change-Id: Iae5b9547161b7631d08d4815840746d667e4d7c9
Bug-Url: https://bugzilla.redhat.com/1176799
Signed-off-by: Tomas Jelinek <[email protected]>
---
M 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/instancetypes/ExistingInstanceTypeModelBehavior.java
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/41/36641/1

diff --git 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/instancetypes/ExistingInstanceTypeModelBehavior.java
 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/instancetypes/ExistingInstanceTypeModelBehavior.java
index e50f045..3c9611c 100644
--- 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/instancetypes/ExistingInstanceTypeModelBehavior.java
+++ 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/instancetypes/ExistingInstanceTypeModelBehavior.java
@@ -138,6 +138,7 @@
        ));
         
getModel().getEmulatedMachine().setSelectedItem(instanceType.getCustomEmulatedMachine());
         
getModel().getCustomCpu().setSelectedItem(instanceType.getCustomCpuName());
+        
getModel().getMigrationMode().setSelectedItem(instanceType.getMigrationSupport());
     }
 
     @Override


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iae5b9547161b7631d08d4815840746d667e4d7c9
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Tomas Jelinek <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to