Martin Mucha has posted comments on this change. Change subject: webadmin: use UpdateAndReorderVmNicsCommand ......................................................................
Patch Set 16: (3 comments) https://gerrit.ovirt.org/#/c/35193/16/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/templates/VmBaseListModel.java File frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/templates/VmBaseListModel.java: Line 435: //TODO MM: Also note, that all descendants adds 'updateActionAvailability' in their cancel method so it's called twice and Line 436: //TODO MM: also 'setWindow(null);' is always present. Line 437: //TODO MM: Potentially missing/extra operations are 'cancelConfirmation(); setGuideContext(null);' in VmListModelUpdateAndReorderVmNicsAsyncCallbackWhenVmtGuidIsEmpty.succeeded() Line 438: Line 439: public class VmListModelUpdateAndReorderVmNicsAsyncCallback extends BasicIFrontendActionAsyncCallback { > this seems to not have anything in common with "UpdateAndReorderNics" - ple Done Line 440: Line 441: private final UnitVmModel unitVmModel; Line 442: private final Guid idOfVmToBeUpdated; Line 443: Line 462: executeDiskModifications(idOfVmToBeUpdated, unitVmModel); Line 463: } Line 464: } Line 465: Line 466: private class VmListModelUpdateAndReorderVmNicsAsyncCallbackWhenVmtGuidIsEmpty extends BasicIFrontendActionAsyncCallback { > same Done Line 467: Line 468: private final Guid idOfVmToBeUpdated; Line 469: private final UnitVmModel unitVmModel; Line 470: https://gerrit.ovirt.org/#/c/35193/16/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/userportal/UserPortalListModel.java File frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/userportal/UserPortalListModel.java: Line 1411: gettempVm().setId(vmId); Line 1412: model.getInstanceImages().executeDiskModifications(gettempVm()); Line 1413: } Line 1414: Line 1415: //TODO MM: duplicity. > yeah, please unify :) not easily possible. Duplicity remains. Done. Line 1416: private class UserPortalListModelUpdateAndReorderVmNicsAsyncCallback extends BasicIFrontendActionAsyncCallback { Line 1417: Line 1418: private final Guid idOfVmToBeUpdated; Line 1419: private final UnitVmModel unitVmModel; -- To view, visit https://gerrit.ovirt.org/35193 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ide74e4a620e4d6175cbcdeccf72403991b0077b8 Gerrit-PatchSet: 16 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Martin Mucha <mmu...@redhat.com> Gerrit-Reviewer: Lior Vernia <lver...@redhat.com> Gerrit-Reviewer: Martin Mucha <mmu...@redhat.com> Gerrit-Reviewer: Tomas Jelinek <tjeli...@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