Change in ovirt-engine[ovirt-engine-3.6]: frontend: Fix NPE in TemplateListModel

tnisan at redhat.com tnisan at redhat.com
Mon Aug 24 20:09:20 UTC 2015


Tal Nisan has submitted this change and it was merged.

Change subject: frontend: Fix NPE in TemplateListModel
......................................................................


frontend: Fix NPE in TemplateListModel

The initForemanProviders() method was not being called from
TemplateListModel#createVmFromTemplate(). Moved the call to common
setupNewVmModel() method that is being called from both create new VM flows.

Change-Id: If508220ddfba6e3045ca50a9d0a171e9426efb30
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1256005
Signed-off-by: Martin Betak <mbetak at redhat.com>
---
M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/templates/VmBaseListModel.java
M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/VmListModel.java
2 files changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Tomas Jelinek: Looks good to me, approved
  Jenkins CI: Passed CI tests
  Martin Betak: Verified



-- 
To view, visit https://gerrit.ovirt.org/45255
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: If508220ddfba6e3045ca50a9d0a171e9426efb30
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.6
Gerrit-Owner: Martin Betak <mbetak at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Betak <mbetak at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: Tomas Jelinek <tjelinek at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list