Feature #27926
closedHost parameter should be accessible in Report Template without setting "Safemode rendering" to false
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1746780
Description of problem:
Currently, the host parameter is accessible in report template only using host.info['parameters']['Parameter Name'] but needs to set "Safemode rendering" to false. We should able to access this when "Safemode rendering" is set to true
Here is an example template
<%- load_hosts().each_record do |host| -%>
<%- report_row({
'Name': host.name,
'LOB': host.info['parameters']['SomeParameter']
}) -%>
<%- end -%>
Version-Release number of selected component (if applicable): 6.5
How reproducible: Always
Actual results: Getting Error message --> Warning! There was an error rendering the parameterreport template: undefined method '#info' for Host::Managed::Jail (Host::Managed)
Expected results: parameter should be accessible when "Safemode rendering" to true