Bug 2096942 - Incorrect breadcrumb text in puppet environment
Summary: Incorrect breadcrumb text in puppet environment
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Puppet
Version: 6.11.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.14.0
Assignee: satellite6-bugs
QA Contact: Gaurav Talreja
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-14 15:25 UTC by Ladislav Vasina
Modified: 2023-07-04 17:52 UTC (History)
4 users (show)

Fixed In Version: rubygems-foreman_puppet-6.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 36274 0 Normal Resolved Incorrect breadcrumb text in puppet environment 2023-06-07 14:47:42 UTC
Red Hat Issue Tracker SAT-16990 0 None None None 2023-04-06 14:17:45 UTC
Red Hat Issue Tracker SAT-17999 0 None None None 2023-05-31 12:00:56 UTC

Description Ladislav Vasina 2022-06-14 15:25:35 UTC
Description of problem:
Regression against: BZ1984965 
(CLOSED for Sat 6.10)

If you have the Puppet plugin enabled, then if you go to
a)
Configure > Environments > Help there is in the top left corner a breadcrumb link showing "Lifecycle environments" instead of "Puppet Environments" which should be there instead in my opinion.
b)
The same wrong breadcrumb link text is shown when trying to import environments from sat (Configure > Environments > Import environments from "your_sat.com").
c)
However, if you try to create a Puppet environment (Configure > Environments > Create Puppet Environment) it shows the correct link text "Puppet Environments" in breadcrumbs.

Version-Release number of selected component (if applicable):
Satellite 6.11.0 Snap:25
rubygem-foreman_puppet-2.0.6-1.el8sat.noarch
foreman-3.1.1.21-1.el8sat.noarch


How reproducible:
Always

Steps to Reproduce:
1. Have a 6.11 Satellite
2. Have the Puppet plugin enabled
3a. Go to  Configure > Environments > Help and check breadcrumbs
3b. Go to  Configure > Environments > Create Puppet Environment 
3c. Go to  Configure > Environments > Create Puppet Environment (IS OK)

Actual results:
Breadcrumb link text in points a) and b) is "Lifecycle Environments"

Expected results:
Breadcrumb link text in a) and b) should be as in point c) "Puppet Environments"

Additional info:

Comment 1 Ron Lavi 2023-04-04 09:11:27 UTC
Created redmine issue https://projects.theforeman.org/issues/36274 from this bug

Comment 2 Ron Lavi 2023-05-03 09:45:47 UTC
Fixed in https://github.com/theforeman/foreman_puppet/commit/3dbbff5876dedec5da5ef5e64f8e1e91fb20e50d
and will be released in the next foreman_puppet minor version,
moving to POST

Comment 4 Gaurav Talreja 2023-05-31 12:00:00 UTC
Tested on Satellite 6.14.0 Snap 1.0
Version: rubygem-foreman_puppet-5.1.2-1.el8sat.noarch

Steps:
1.Setup Satellite 6.14 with Puppet plugin enabled
2 Go to  Configure > Environments > Help and check breadcrumbs
3.Go to  Configure > Environments > Create Puppet Environment 
4.Go to  Configure > Environments > Import Puppet Environment 

Observations:
In 2) and 3) breadcrumb text in puppet environment is set correctly as `Puppet Environments`
But in 4)  breadcrumb text in puppet environment is still set incorrectly as `Lifecycle Environments`

Attaching screenshot of the same, and moving this back to ASSIGNED state.

Comment 5 Ron Lavi 2023-06-05 08:44:30 UTC
Fix for the import puppet environment page: https://github.com/theforeman/foreman_puppet/pull/354

Comment 6 Ron Lavi 2023-06-12 10:45:10 UTC
moving to POST, the fix is in foreman_puppet to 6.0.0

Comment 7 Leos Stejskal 2023-06-12 13:05:12 UTC
Upstream packaging: https://github.com/theforeman/foreman-packaging/pull/9482

Comment 8 Leos Stejskal 2023-06-23 09:10:03 UTC
upstream 3.7 cherry-pick: https://github.com/theforeman/foreman-packaging/pull/9515

Comment 9 Gaurav Talreja 2023-07-04 17:52:52 UTC
Verified.

Tested on Satellite 6.14.0 Snap 6.0
Version: rubygem-foreman_puppet-6.0.0-2.el8sat.noarch

Steps:
1.Setup Satellite 6.14 with Puppet plugin enabled
2 Go to  Configure > Environments > Help and check breadcrumbs
3.Go to  Configure > Environments > Create Puppet Environment 
4.Go to  Configure > Environments > Import Puppet Environment 

Observations:
In 2), 3), and 4) breadcrumb text in puppet environment is set correctly as `Puppet Environments`


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