From c9883929ec689f192701445e63d92fa005440c71 Mon Sep 17 00:00:00 2001 From: Keenan Brock Date: Fri, 30 Aug 2019 18:42:48 -0400 Subject: [PATCH] Fix cloud workflow issue from https://github.com/ManageIQ/manageiq/pull/18353 fixes https://bugzilla.redhat.com/show_bug.cgi?id=1746931 --- app/models/miq_provision_virt_workflow.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/miq_provision_virt_workflow.rb b/app/models/miq_provision_virt_workflow.rb index 35ae8cbc4c2..891abac8229 100644 --- a/app/models/miq_provision_virt_workflow.rb +++ b/app/models/miq_provision_virt_workflow.rb @@ -340,7 +340,7 @@ def allowed_templates(options = {}) end # Only select the colums we need - vms = vms.select(:id, :name, :guid, :uid_ems, :ems_id, :cloud_tenant_id) + vms = vms.select(:id, :type, :name, :guid, :uid_ems, :ems_id, :cloud_tenant_id) allowed_templates_list = source_vm_rbac_filter(vms, condition, VM_OR_TEMPLATE_EXTRA_COLS).to_a @allowed_templates_filter = filter_id