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

tjelinek at redhat.com tjelinek at redhat.com
Mon Aug 24 13:38:14 UTC 2015


Tomas Jelinek 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/45253
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: If508220ddfba6e3045ca50a9d0a171e9426efb30
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Martin Betak <mbetak at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Betak <mbetak 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