Liron Ar has posted comments on this change.

Change subject: webadmin: npe on add storage domain flow
......................................................................


Patch Set 1:

(2 comments)

http://gerrit.ovirt.org/#/c/28826/1//COMMIT_MSG
Commit Message:

Line 6: 
Line 7: webadmin: npe on add storage domain flow
Line 8: 
Line 9: 'activateDomain' flag should be passed to parameters only on import 
domain
Line 10: flow (when not null).
please add bug url -
https://bugzilla.redhat.com/show_bug.cgi?id=1106458
Line 11: 
Line 12: Change-Id: Icb0469654ccdffa4b113037872f5392155fd1494


http://gerrit.ovirt.org/#/c/28826/1/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/storage/StorageListModel.java
File 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/storage/StorageListModel.java:

Line 1895: 
Line 1896:     private void attachStorageToDataCenter(Guid storageId, Guid 
dataCenterId, Boolean activateDomain)
Line 1897:     {
Line 1898:         AttachStorageDomainToPoolParameters params = new 
AttachStorageDomainToPoolParameters(storageId, dataCenterId);
Line 1899:         if (activateDomain != null) {
how about chainging it to boolean instead? is that somehow problematic?
Line 1900:             params.setActivate(activateDomain);
Line 1901:         }
Line 1902:         
Frontend.getInstance().runAction(VdcActionType.AttachStorageDomainToPool, 
params, null, this);
Line 1903:     }


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Icb0469654ccdffa4b113037872f5392155fd1494
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Daniel Erez <de...@redhat.com>
Gerrit-Reviewer: Daniel Erez <de...@redhat.com>
Gerrit-Reviewer: Liron Ar <lara...@redhat.com>
Gerrit-Reviewer: Tal Nisan <tni...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to