Gilad Chaplik has uploaded a new change for review.

Change subject: webadmin: cannot add host in webadmin
......................................................................

webadmin: cannot add host in webadmin

DiscorveredHosts entity isn't initialized.

Change-Id: Ibcad9ad3e92819568214f0fb4c219b63dcbfda1f
Signed-off-by: Gilad Chaplik <[email protected]>
---
M 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostModel.java
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/98/32298/1

diff --git 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostModel.java
 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostModel.java
index 5736e21..1b579bc 100644
--- 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostModel.java
+++ 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostModel.java
@@ -1085,6 +1085,7 @@
 
         setNetworkProviderModel(new HostNetworkProviderModel());
         setDiscorveredHosts(new EntityModel<Boolean>());
+        getIsDiscorveredHosts().setEntity(false);
     }
 
     private void proxyUp() {


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

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

Reply via email to