Bug 2280882

Summary: Legacy Chost UI > Errata tab > Environments Dropdown shows "/undefined" for Content-View's Name
Product: Red Hat Satellite Reporter: David Moore <damoore>
Component: Hosts - ContentAssignee: Jeremy Lenz <jlenz>
Status: CLOSED MIGRATED QA Contact: Satellite QE Team <sat-qe-bz-list>
Severity: low Docs Contact:
Priority: unspecified    
Version: NightlyCC: jlenz, rlavi
Target Milestone: UnspecifiedKeywords: EasyFix, MigratedToJIRA, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-06-06 17:39:32 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:
Embargoed:

Description David Moore 2024-05-16 19:22:39 UTC
Created attachment 2033607 [details]
"/undefined" for dropdown "LCE.name/CV.name"

Description of problem:
From Legacy ContentHost UI > Chost > Errata Tab

We cannot see the content-view name in the 'Environments' Dropdown.
We can see the environments name, and any previous/Library environment, 
but the content-view name displayed is 'undefined'. 
Only seems to affect this page.

Version-Release number of selected component (if applicable):
Stream snap 59.0 (6.16)
6.15.1 snap 1.0


How reproducible:
Always

Steps to Reproduce:
1. Associate an activation-key with a published content-view, only in 'Library' environment. Register a contenthost to the activation-key.

2. Create a new lifecycle environment, with prior being Library.

3. Publish the existing content-view-version into the new environment.

4. Go to Legacy ContentHost UI > Chost > Errata Tab


Actual results:
- In the dropdown for 'Environments' we can see the following options:
   'Library Synced Content'
   'Previous Lifecycle Environment (Library/undefined)' <<
   'Current Lifecycle Environment (lce_1/undefined)'    <<

- But the content-view name appears correctly in other places, 
  like Legacy ContentHost UI > Chost > Details > Content Host Content.


Expected results:
- In the dropdown for 'Environments' we would expect the options:
   'Library Synced Content'
   'Previous Lifecycle Environment (Library/CV_0)' <<
   'Current Lifecycle Environment (lce_1/CV_0)'    <<

Comment 2 Jeremy Lenz 2024-05-16 20:12:02 UTC
Created redmine issue https://projects.theforeman.org/issues/37483 from this bug

Comment 4 Eric Helms 2024-06-03 13:41:53 UTC
Upstream bug assigned to jlenz

Comment 5 Eric Helms 2024-06-03 13:41:56 UTC
Upstream bug assigned to jlenz

Comment 6 Eric Helms 2024-06-06 17:39:32 UTC
This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there.

Due to differences in account names between systems, some fields were not replicated.  Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information.

To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "SAT-" followed by an integer.  You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like:

"Bugzilla Bug" = 1234567

In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information.