Bug #36338
closedModule streams on Content tab is missing for Rocky Linux 8.7 and 9
Description
Community issue https://community.theforeman.org/t/question-about-module-stream/33347
Regex from the following line does not support "Rocky Linux"
https://github.com/Katello/katello/blob/918b22b4bc147b433f724a9f47eeffd731c32f24/webpack/components/extensions/HostDetails/Tabs/ModuleStreamsTab/ModuleStreamsTab.js#L52
Is it better to enable the tab by default unless we know it should be disabled? Thoughts?
Updated by Samir Jha over 1 year ago
- Triaged changed from No to Yes
Lucy Fu wrote:
Community issue https://community.theforeman.org/t/question-about-module-stream/33347
Regex from the following line does not support "Rocky Linux"
https://github.com/Katello/katello/blob/918b22b4bc147b433f724a9f47eeffd731c32f24/webpack/components/extensions/HostDetails/Tabs/ModuleStreamsTab/ModuleStreamsTab.js#L52Is it better to enable the tab by default unless we know it should be disabled? Thoughts?
Try showing Module Stream tab regardless of host OS. Default to empty state if host.available_module_stream is empty. Display the table otherwise.
Updated by Lucy Fu over 1 year ago
host.available_module_stream returns [] for both unsupported OS and no module streams reported.
so we can't use it to to make the decision to hide the Module streams tab.
also I don't like to display Module streams tab for a CentOS 7 which says 'this host does not support Module streams'.
I would like to keep the existing logic but fix the regex (hopefully).
Updated by The Foreman Bot over 1 year ago
- Fixed in Releases Katello 4.9.0 added
Updated by Lucy Fu over 1 year ago
- Status changed from New to Closed
Applied in changeset katello|a79189bf1e61b8875a295f677fdecca122ec5dd0.
Updated by Ewoud Kohl van Wijngaarden over 1 year ago
- Fixed in Releases Katello 4.8.1 added