Bug #37483
closedLegacy Chost UI > Errata tab > Environments Dropdown shows "/undefined" for Content-View's Name
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=2280882
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):
current nightly
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)' <<