Bug #28815
closedCustom reports have file extension ".text"
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1792267
Description of problem:
Reports that don't use report_render macro have a plaintext format by default when generated. The downloaded file has the extenstion of ".text" which is unusual for text files.
Version-Release number of selected component (if applicable):
Sat 6.7; technically a regression because the extension was .txt in 6.6 but it's not specified what extension the text file should have
How reproducible:
Deterministic
Steps to Reproduce:
1. Create a custom report that doesn't have string 'report_render' in template
2. Generate it
Actual results:
A <report>.text file is downloaded
Expected results:
A <report>.txt file is downloaded
Updated by The Foreman Bot almost 5 years ago
- Status changed from New to Ready For Testing
- Assignee set to Marek Hulán
- Pull request https://github.com/theforeman/foreman/pull/7372 added
Updated by Marek Hulán almost 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset 032648cc63156bbcd11df8db3086cdb7e6283599.
Updated by Tomer Brisker over 4 years ago
- Category changed from Statistics to Reporting