Change in ovirt-engine[master]: webadmin: fix cpu profile selection on import vm

ahadas at redhat.com ahadas at redhat.com
Mon Apr 20 09:39:26 UTC 2015


Arik Hadas has submitted this change and it was merged.

Change subject: webadmin: fix cpu profile selection on import vm
......................................................................


webadmin: fix cpu profile selection on import vm

CPU profile and quota are set in the import-VM dialog upon cluster
change. However, when switching between the first screen and the second
screen in the new import dialog, it might be that the cluster will not
change (as a result of the injection of ClusterListModel in
ImportVmFromExportDomainModel) so these fields will not be set.

The solution is to clear the cluster selection before setting its new
values to ensure that a cluster selection change will be detected.

Change-Id: I922ccf0b27f1fb971f7b26a7a9cc6aa6ce9833f7
Signed-off-by: Arik Hadas <ahadas at redhat.com>
---
M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/ImportVmFromExportDomainModel.java
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Tomas Jelinek: Looks good to me, approved
  Arik Hadas: Verified



-- 
To view, visit https://gerrit.ovirt.org/40026
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I922ccf0b27f1fb971f7b26a7a9cc6aa6ce9833f7
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Martin Betak <mbetak at redhat.com>
Gerrit-Reviewer: Tomas Jelinek <tjelinek at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list