Change in ovirt-engine[master]: core: Fix NPE when creating VM server (#820227)

mlipchuk at redhat.com mlipchuk at redhat.com
Wed May 16 14:54:55 UTC 2012


Maor Lipchuk has submitted this change and it was merged.

Change subject: core: Fix NPE when creating VM server (#820227)
......................................................................


core: Fix NPE when creating VM server (#820227)

https://bugzilla.redhat.com/820227

Adding new server from template will set null in the quota id, since the
quota id is referenced from the wrong place in the parameters.

The quota id should be set from the vm static data instead from the
parameters.

Change-Id: I3a995e1f1cda5c9bacc70148ac46ccfe0d309562
Signed-off-by: Maor Lipchuk <mlipchuk at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddVmFromTemplateCommand.java
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Maor Lipchuk: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I3a995e1f1cda5c9bacc70148ac46ccfe0d309562
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel at redhat.com>



More information about the Engine-commits mailing list