Project

General

Profile

Actions

Bug #28845

closed

When generating custom report, leave output format field empty

Added by Leos Stejskal about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Reporting
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1792304

Description of problem:
When generating a report template that doesn't contain report_render string in template, the Output Format field is greyed out but contains the value of "CSV". This is misleading because the resulting file is a text file, according both to MIME type and to its extension.

Version-Release number of selected component (if applicable):
6.7, feature unavailable in previous versions

How reproducible:
Deterministic

Steps to Reproduce:
1. Create a report template that doesn't contain report_render string in template
2. Monitor -> Report Templates -> Generate

Actual results:
Output Format field greyed out, containing "CSV"

Expected results:
Something that is not misleading, e.g. empty value

Actions #1

Updated by The Foreman Bot about 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/7380 added
Actions #2

Updated by The Foreman Bot about 4 years ago

  • Fixed in Releases 2.1.0 added
Actions #3

Updated by Leos Stejskal about 4 years ago

  • Status changed from Ready For Testing to Closed
Actions #4

Updated by Tomer Brisker about 4 years ago

  • Category changed from Statistics to Reporting
Actions

Also available in: Atom PDF