Change in ovirt-engine[master]: core: fix import glance image as template

Daniel Erez has submitted this change and it was merged. Change subject: core: fix import glance image as template ...................................................................... core: fix import glance image as template Importing Glance image as a template from rest-api leads to an NPE due to null user in AddVmTemplateCommand [getCurrentUser() is null]. Fixed by ensuring a valid user from the parameters (instead of setting on ImportRepoImageCommand ctr). Change-Id: I5a34e200ea135469d174f337b802c83a3a1e9052 Signed-off-by: Daniel Erez <derez@redhat.com> --- M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddVmTemplateCommand.java M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ImportRepoImageCommand.java 2 files changed, 3 insertions(+), 2 deletions(-) Approvals: Daniel Erez: Verified Allon Mureinik: Looks good to me, but someone else must approve Oved Ourfali: Looks good to me, approved -- To view, visit http://gerrit.ovirt.org/37104 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I5a34e200ea135469d174f337b802c83a3a1e9052 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Daniel Erez <derez@redhat.com> Gerrit-Reviewer: Allon Mureinik <amureini@redhat.com> Gerrit-Reviewer: Daniel Erez <derez@redhat.com> Gerrit-Reviewer: Oved Ourfali <oourfali@redhat.com> Gerrit-Reviewer: automation@ovirt.org Gerrit-Reviewer: oVirt Jenkins CI Server
participants (1)
-
derez@redhat.com