Tomas Jelinek has submitted this change and it was merged.
Change subject: frontend: Fix NPEx in new vm dialog when the DC is unitialized
......................................................................
frontend: Fix NPEx in new vm dialog when the DC is unitialized
This patch adds a null check that avoids NPEx after trying to add a new
VM when there is no initialized DC.
Change-Id: I04349ddfe9ce164d85c818c439c8c4f89ae01019
Signed-off-by: Frantisek Kobzik <fkobzik(a)redhat.com>
---
M
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/UnitVmModel.java
1 file changed, 3 insertions(+), 1 deletion(-)
Approvals:
Tomas Jelinek: Looks good to me, approved
Frank Kobzik: Verified
--
To view, visit
http://gerrit.ovirt.org/16766
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I04349ddfe9ce164d85c818c439c8c4f89ae01019
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Frank Kobzik <fkobzik(a)redhat.com>
Gerrit-Reviewer: Frank Kobzik <fkobzik(a)redhat.com>
Gerrit-Reviewer: Tomas Jelinek <tjelinek(a)redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server