Project

General

Profile

Bug #28845

When generating custom report, leave output format field empty

Added by Leos Stejskal 9 months ago. Updated 8 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Reporting
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
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

Associated revisions

Revision dd5e6cec (diff)
Added by Leos Stejskal 8 months ago

Fixes #28845 - When generating custom report, leave output format field empty

Revision ffff26a2 (diff)
Added by Leos Stejskal 8 months ago

Fixes #28845 - Update after review

History

#1 Updated by The Foreman Bot 9 months ago

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

#2 Updated by The Foreman Bot 8 months ago

  • Fixed in Releases 2.1.0 added

#3 Updated by Leos Stejskal 8 months ago

  • Status changed from Ready For Testing to Closed

#4 Updated by Tomer Brisker 8 months ago

  • Category changed from Statistics to Reporting

Also available in: Atom PDF