Bug 1778139

Summary: [UI] The dirname option is missing in template export and import options
Product: Red Hat Satellite Reporter: Jitendra Yejare <jyejare>
Component: Templates PluginAssignee: Ondřej Pražák <oprazak>
Status: CLOSED ERRATA QA Contact: Jitendra Yejare <jyejare>
Severity: urgent Docs Contact:
Priority: high    
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: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1778146    

Description Jitendra Yejare 2019-11-29 11:38:42 UTC
Description of problem:
The Foreman Templates export and import in UI and from Hosts -> Templates -> Sync Templates is missing an option to which git repo directory to export to and import from.

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 , Attempt to export to and import from the foreman templates from a specific directory of a git repo.

Actual results:
The option of the directory is missing in UI from both export and import sections.

Expected results:
The option of the directory should be available in UI from both export and import sections.

Additional info:

Comment 4 Ondřej Pražák 2019-12-03 08:11:20 UTC
Created redmine issue https://projects.theforeman.org/issues/28394 from this bug

Comment 6 Bryan Kearney 2019-12-03 13:01:46 UTC
Upstream bug assigned to oprazak@redhat.com

Comment 7 Bryan Kearney 2019-12-03 13:01:48 UTC
Upstream bug assigned to oprazak@redhat.com

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

Comment 9 Jitendra Yejare 2019-12-17 14:48:01 UTC
Verified!

@Satellite 6.7 snap 6


Steps:
------------
1. From UI, Hosts -> Templates -> Sync Templates , Attempt to export to and import from the foreman templates from a specific directory of a git repo.


Observation:
--------------
1. The option of the dirname is available in UI from both export and import sections.
2. Tenplates are only imported from the specified directory in 'dirname' option as expected.

Comment 12 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