Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1778184

Summary: [UI] The "file name" cloumn doesnt displayes file_name for export for any template class.
Product: Red Hat Satellite Reporter: Jitendra Yejare <jyejare>
Component: Templates PluginAssignee: Ondřej Pražák <oprazak>
Status: CLOSED ERRATA QA Contact: Ondrej Gajdusek <ogajduse>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.7.0CC: mhulan, oprazak
Target Milestone: 6.7.0Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rubygem-foreman_templates-7.0.5 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-14 13:27:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1778146    
Attachments:
Description Flags
export screen none

Description Jitendra Yejare 2019-11-29 13:01:34 UTC
Description of problem:
The Foreman Templates export in UI, post export and in export reports don't show the file_name of exported template for any template class. But shows on import.

Version-Release number of selected component (if applicable):
Satellite 6.3 snap 3

How reproducible:
Always

Steps to Reproduce:
1. From UI, Hosts -> Templates -> Sync Templates , Export the templates to local directory.
2. View the export reports after export for all/filtered templates is done.

Actual results:
The export reports don't show the file_name of the exported template for any template class.

Expected results:
The export reports should show the file_name of the exported template for any template class.

Comment 4 Marek Hulan 2019-12-03 13:54:27 UTC
Created attachment 1641680 [details]
export screen

Comment 7 Ondřej Pražák 2019-12-04 09:43:19 UTC
Created redmine issue https://projects.theforeman.org/issues/28414 from this bug

Comment 8 Ondřej Pražák 2019-12-04 09:47:11 UTC
Not a regression, this bug is in a new feature.

Comment 9 Bryan Kearney 2019-12-04 11:01:31 UTC
Upstream bug assigned to oprazak

Comment 10 Bryan Kearney 2019-12-04 11:01:34 UTC
Upstream bug assigned to oprazak

Comment 11 Bryan Kearney 2019-12-10 17:01:43 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/28414 has been resolved.

Comment 12 Jitendra Yejare 2019-12-17 13:34:54 UTC
Verified!

@ Satellite 6.7 snap 6

Steps:
----------
1. From UI, Hosts -> Templates -> Sync Templates , Export the templates to local directory.
2. View the export reports after export for all/filtered templates is done.


Observation:
---------------
The export reports shows the file_name of the exported template for all template classes.

Comment 15 errata-xmlrpc 2020-04-14 13:27:44 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:1454