Description of problem: When generating a report template that doesn't contain report_render string in template, the Output Format field is greyed out but contains the value of "CSV". This is misleading because the resulting file is a text file, according both to MIME type and to its extension. Version-Release number of selected component (if applicable): 6.7, feature unavailable in previous versions How reproducible: Deterministic Steps to Reproduce: 1. Create a report template that doesn't contain report_render string in template 2. Monitor -> Report Templates -> Generate Actual results: Output Format field greyed out, containing "CSV" Expected results: Something that is not misleading, e.g. empty value
Created redmine issue https://projects.theforeman.org/issues/28845 from this bug
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/28845 has been resolved.
Verified with Sat 6.8 snap 3.0. Used reproducer from OP. Custom reports now have the Output Format field greyed out and empty (and the result is a txt file) while the behavior hasn't changed when generating built-in reports.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: Satellite 6.8 release), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:4366