Project

General

Profile

Feature #26641

- Ability to set the file extension for generated Satellite 6.5 reports

Added by Marek Hulán about 1 month ago. Updated about 1 month ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Statistics
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

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.


Related issues

Related to Foreman - Feature #25732: Generated report file has MIME type text/plainReady For Testing

History

#1 Updated by Marek Hulán about 1 month 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.

#2 Updated by Marek Hulán about 1 month ago

  • Related to Feature #25732: Generated report file has MIME type text/plain added

Also available in: Atom PDF