From 67e7e7a62f4845b79f587069413be770b25aac8c Mon Sep 17 00:00:00 2001 From: Ian Ballou Date: Tue, 9 Jan 2024 21:00:49 +0000 Subject: [PATCH] Fixes #37016 - stop trying to report CV / LCE for hypervisors --- .../report_templates/subscription_-_entitlement_report.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/unattended/report_templates/subscription_-_entitlement_report.erb b/app/views/unattended/report_templates/subscription_-_entitlement_report.erb index f133a4cd644..9c7385ff5b9 100644 --- a/app/views/unattended/report_templates/subscription_-_entitlement_report.erb +++ b/app/views/unattended/report_templates/subscription_-_entitlement_report.erb @@ -27,8 +27,8 @@ require: <%- report_row( 'Host Name': host.name, 'Organization': host.organization, - 'Lifecycle Environment': host.single_lifecycle_environment.name, - 'Content View': host.single_content_view.name, + 'Lifecycle Environment': host.single_lifecycle_environment&.name, + 'Content View': host.single_content_view&.name, 'Host Collections': host_collections_names(host), 'Virtual': host.virtual, 'Guest of Host': host.hypervisor_host,