Change in ovirt-engine[master]: core: GetVmTemplatesByStoragePoolIdQuery did not return anyt...

tjelinek at redhat.com tjelinek at redhat.com
Tue Mar 25 14:50:54 UTC 2014


Tomas Jelinek has submitted this change and it was merged.

Change subject: core: GetVmTemplatesByStoragePoolIdQuery did not return anything
......................................................................


core: GetVmTemplatesByStoragePoolIdQuery did not return anything

The problem was a regression introduced in
88756e3897ba467eb50055a7dda0c1afb11295d0
due to which an incorrect DB call was called.

Fixed by implementing the proper DB call (getAllForStoragePool).

Change-Id: I62627ca3a9942901abda1ee7522e8f0de1f29764
Signed-off-by: Tomas Jelinek <tjelinek at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/GetVmTemplatesByStoragePoolIdQuery.java
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/VmTemplateDAO.java
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/VmTemplateDAODbFacadeImpl.java
M packaging/dbscripts/vm_templates_sp.sql
4 files changed, 33 insertions(+), 5 deletions(-)

Approvals:
  Tomas Jelinek: Verified
  Omer Frenkel: Looks good to me, approved
  Liran Zelkha: Looks good to me, but someone else must approve



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I62627ca3a9942901abda1ee7522e8f0de1f29764
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Tomas Jelinek <tjelinek at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Liran Zelkha <lzelkha at redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel at redhat.com>
Gerrit-Reviewer: Tomas Jelinek <tjelinek at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list