Alona Kaplan has uploaded a new change for review.

Change subject: webadmin:  Non-VM networks not being detached from cluster
......................................................................

webadmin:  Non-VM networks not being detached from cluster

Non-vm network property wasn't cloned when cloning network.
It caused some bugs-
- The user couldn't detach non-vm network from the cluster.
- Non-VM networks shown as VM networks on cluster attachment dialog.

Change-Id: I69415097f4c7d253225cb57f545df398b36d0261
Bug-Url: https://bugzilla.redhat.com/906291
Bug-Url: https://bugzilla.redhat.com/906289
Signed-off-by: Alona Kaplan <[email protected]>
---
M 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/Cloner.java
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/72/11872/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 56a8c26..aaa7ebc 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
@@ -290,6 +290,7 @@
         obj.setStp(instance.getStp());
         obj.setDataCenterId(instance.getDataCenterId());
         obj.setMtu(instance.getMtu());
+        obj.setVmNetwork(instance.isVmNetwork());
         if (instance.getCluster() !=null){
             obj.setCluster(CloneNetworkCluster(instance.getCluster()));
         }


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I69415097f4c7d253225cb57f545df398b36d0261
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: engine_3.2
Gerrit-Owner: Alona Kaplan <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to