Bug #28637
closedAn empty report file doesn't show any headers
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1705097
Description of problem:
When you generate a report template, it doesn't show any CSV headers (name, label, severity, etc...) on the top of the file if no results are found. This is just a blank file and is confusing as it makes one think the file wasn't generated correctly, also it may break automation that users build around this.
We should keep the headers on the file even if its blank
Version-Release number of selected component (if applicable):
6.5.0
How reproducible:
Always
Steps to Reproduce:
1.Navigate to Report Templates
2.Click "Generate" for applicable errata and search with a host that has no errata applicable (name = myhost).
3.view blank report
Actual results:
report is blank
Expected results:
report has headers
Additional info: