Feature #26641
closed
Ability to set the file extension for generated reports
Added by Marek Hulán almost 6 years ago.
Updated about 5 years ago.
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1701062
Description of problem:
When generating reports in Satellite 6.5 web interface, the generated reports have a ".txt" file extension. It would be nice if the user could specify what file extension the report should be created with (for example, ".csv", or ".html") so that the web browser could open the report in the appropriate application.
Version-Release number of selected component (if applicable): Satellite 6.5 Beta
Steps to Reproduce:
1. Generate report from Satellite 6.5 web interface
Actual results:
Generated file has .txt extension
Expected results:
Ability to specify the file extension on a per-report basis, so that ".csv", ".html", etc. could be specified for the file extension.
- Subject changed from - Ability to set the file extension for generated Satellite 6.5 reports
to - Ability to set the file extension for generated Satellite 6.5 reports
This will most likely be fixed with https://projects.theforeman.org/issues/25732, I think we should be able to select what formats are available for a given report template if more than one is assigned, during rendering, user should be able to choose one of them. That should also set the correct mime/type and file suffix.
- Related to Feature #25732: Generated report file has MIME type text/plain added
- Fixed in Releases 1.24.0 added
- Status changed from New to Closed
- Subject changed from - Ability to set the file extension for generated Satellite 6.5 reports to - Ability to set the file extension for generated reports
- Subject changed from - Ability to set the file extension for generated reports to Ability to set the file extension for generated reports
- Category changed from Statistics to Reporting
Also available in: Atom
PDF