Project

General

Profile

Actions

Bug #28815

closed

Custom reports have file extension ".text"

Added by Marek Hulán over 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=1792267

Description of problem:
Reports that don't use report_render macro have a plaintext format by default when generated. The downloaded file has the extenstion of ".text" which is unusual for text files.

Version-Release number of selected component (if applicable):
Sat 6.7; technically a regression because the extension was .txt in 6.6 but it's not specified what extension the text file should have

How reproducible:
Deterministic

Steps to Reproduce:
1. Create a custom report that doesn't have string 'report_render' in template
2. Generate it

Actual results:
A <report>.text file is downloaded

Expected results:
A <report>.txt file is downloaded

Actions #1

Updated by The Foreman Bot over 4 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Marek Hulán
  • Pull request https://github.com/theforeman/foreman/pull/7372 added
Actions #2

Updated by The Foreman Bot over 4 years ago

  • Fixed in Releases 2.0.0 added
Actions #3

Updated by Marek Hulán over 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