Maor Lipchuk has uploaded a new change for review. Change subject: webadmin: Use GetEntity instead of storageDomain ......................................................................
webadmin: Use GetEntity instead of storageDomain The storageDomain selected in the GUI when detaching a local Storage Domain intialized with storage pool id and therefore will fail the operation of detach local Storage Domain. Instead using storageDomain we should use getEntity Change-Id: I594cee0e9130869b0c3ff55b6ecd004f8a42f61e Bug-Url: https://bugzilla.redhat.com/1148417 Signed-off-by: Maor Lipchuk <mlipc...@redhat.com> --- M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/storage/StorageDataCenterListModel.java 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/36/33636/1 diff --git a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/storage/StorageDataCenterListModel.java b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/storage/StorageDataCenterListModel.java index 1c243e2..f8d3c6e 100644 --- a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/storage/StorageDataCenterListModel.java +++ b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/storage/StorageDataCenterListModel.java @@ -511,7 +511,7 @@ } else { - AsyncDataProvider.getLocalStorageHost(new AsyncQuery(new Object[] { this, storageDomain }, + AsyncDataProvider.getLocalStorageHost(new AsyncQuery(new Object[] { this, getEntity() }, new INewAsyncCallback() { @Override public void onSuccess(Object target, Object returnValue) { -- To view, visit http://gerrit.ovirt.org/33636 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I594cee0e9130869b0c3ff55b6ecd004f8a42f61e Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: ovirt-engine-3.5 Gerrit-Owner: Maor Lipchuk <mlipc...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches