Bug 1792267 - Custom reports have file extension ".text"
Summary: Custom reports have file extension ".text"
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Reporting
Version: 6.7.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: Unspecified
Assignee: Marek Hulan
QA Contact: Lukáš Hellebrandt
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-01-17 12:45 UTC by Lukáš Hellebrandt
Modified: 2020-04-14 19:08 UTC (History)
4 users (show)

Fixed In Version: foreman-1.24.1.5-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-14 19:08:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 28815 0 Normal Closed Custom reports have file extension ".text" 2020-08-20 10:48:16 UTC

Description Lukáš Hellebrandt 2020-01-17 12:45:23 UTC
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

Comment 3 Marek Hulan 2020-01-21 08:51:45 UTC
Created redmine issue https://projects.theforeman.org/issues/28815 from this bug

Comment 4 Bryan Kearney 2020-01-21 09:06:04 UTC
Upstream bug assigned to mhulan

Comment 5 Bryan Kearney 2020-01-21 09:06:07 UTC
Upstream bug assigned to mhulan

Comment 6 Bryan Kearney 2020-01-22 11:06:05 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/28815 has been resolved.

Comment 8 Lukáš Hellebrandt 2020-03-06 15:24:52 UTC
Verified with Sat 6.7 snap 14 using reproducer from OP.

Comment 9 Bryan Kearney 2020-04-14 19:08:41 UTC
This was fixed in 6.7.


Note You need to log in before you can comment on or make changes to this bug.