Alexander Wels has uploaded a new change for review.

Change subject: webadmin: CPU pinning disappearing
......................................................................

webadmin: CPU pinning disappearing

- Fixed issue where CPU pinning value would not be
  displayed properly due to the order in cpu pinning
  visibility was set. The visibility depends on the
  migration mode which was set after it is used to
  determine the visibility of the CPU pinning. This
  moves the setting of the CPU after the setting of
  the migration mode.

Change-Id: I1c87f65b2fc2d7434e6785291bd73fee15539faa
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1004014
Signed-off-by: Alexander Wels <aw...@redhat.com>
---
M 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/ExistingVmModelBehavior.java
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/33/19933/1

diff --git 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/ExistingVmModelBehavior.java
 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/ExistingVmModelBehavior.java
index a7f26c0..a3016ae 100644
--- 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/ExistingVmModelBehavior.java
+++ 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/ExistingVmModelBehavior.java
@@ -182,7 +182,6 @@
 
         getModel().getCustomProperties().setEntity(vm.getCustomProperties());
         
getModel().getCustomPropertySheet().setEntity(vm.getCustomProperties());
-        getModel().getCpuPinning().setEntity(vm.getCpuPinning());
         getModel().getCpuSharesAmount().setEntity(vm.getCpuShares());
         updateCpuSharesSelection();
 
@@ -255,6 +254,7 @@
             }
         }
 
+        getModel().getCpuPinning().setEntity(vm.getCpuPinning());
         initPriority(vm.getPriority());
     }
 


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1c87f65b2fc2d7434e6785291bd73fee15539faa
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.3
Gerrit-Owner: Alexander Wels <aw...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to