ofri masad has uploaded a new change for review. Change subject: webadmin: Fix edit cluster policy for new cluster ......................................................................
webadmin: Fix edit cluster policy for new cluster This is a Fix for Change-Id: Ib55016efcbed22b003eaddf5c4f8f62aec88928e When Creating a new cluster the cluster policy data was not saved because of different view initialization process. Added a bounding between the clusterPolicyModel in the view and ClusterModel (which was missing in the 'New Cluster' flow). Change-Id: I305a71e888e72e35cd40dd1055b6ad22d6111678 Signed-off-by: Ofri Masad <[email protected]> --- M frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/cluster/ClusterPopupView.java 1 file changed, 1 insertion(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/82/11882/1 diff --git a/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/cluster/ClusterPopupView.java b/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/cluster/ClusterPopupView.java index ac77040..a661c0a 100644 --- a/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/cluster/ClusterPopupView.java +++ b/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/cluster/ClusterPopupView.java @@ -500,6 +500,7 @@ } }); + setClusterPolicyModel(object.getClusterPolicyModel()); object.getClusterPolicyModel().getOverCommitTime().getEntityChangedEvent().addListener(new IEventListener() { @Override public void eventRaised(Event ev, Object sender, EventArgs args) { -- To view, visit http://gerrit.ovirt.org/11882 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I305a71e888e72e35cd40dd1055b6ad22d6111678 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: ofri masad <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
