Feature #26641
closedAbility to set the file extension for generated reports
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.
Updated by Marek Hulán almost 6 years ago
- 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.
Updated by Marek Hulán almost 6 years ago
- Related to Feature #25732: Generated report file has MIME type text/plain added
Updated by Marek Hulán over 5 years ago
- Status changed from New to Closed
Applied in changeset e278f23614b97e8d4aa020a4d471dbaf077b73bc.
Updated by Tomer Brisker over 5 years ago
- 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
Updated by Tomer Brisker over 5 years ago
- Subject changed from - Ability to set the file extension for generated reports to Ability to set the file extension for generated reports
Updated by Tomer Brisker almost 5 years ago
- Category changed from Statistics to Reporting