katello 4.8.3 → 4.8.4
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of katello might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/app/models/katello/concerns/host_managed_extensions.rb +1 -1
- data/lib/katello/version.rb +1 -1
- data/webpack/components/extensions/HostDetails/Cards/ContentViewDetailsCard/ContentViewDetailsCard.js +2 -2
- data/webpack/components/extensions/HostDetails/Tabs/PackagesTab/PackagesTab.js +1 -1
- data/webpack/scenes/Content/Details/ContentRepositories.js +1 -1
- data/webpack/scenes/Content/Table/ContentTable.js +1 -1
- data/webpack/scenes/ContentViews/Details/ComponentContentViews/ComponentEnvironments.js +1 -1
- data/webpack/scenes/ContentViews/Details/Histories/ContentViewHistories.js +2 -2
- data/webpack/scenes/ContentViews/Details/Versions/Delete/affectedActivationKeys.js +1 -1
- data/webpack/scenes/ContentViews/Details/Versions/Delete/affectedHosts.js +1 -1
- data/webpack/scenes/ContentViews/components/ContentViewSelect/ContentViewSelectOption.js +1 -1
- data/webpack/scenes/ContentViews/expansions/RelatedContentViewComponentsModal.js +1 -1
- data/webpack/scenes/Hosts/ChangeContentSource/components/ContentSourceForm.js +6 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 46269d021a36d01d1cd9a655da9b12e73acfa52a2801766d1b5b716905b71114
|
4
|
+
data.tar.gz: 1d69cfc2c26463e943b8a68f5fc8dadb926690f9d49a1a3ce4a0738b05720015
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d71fab9ddd5f6370c2f263a00e4c81d8b61ed4eeb8435aaab8d1e38c05ee4af595fefff4ae0e738abd0911abbfb007271a493686b025a99e46ec07efed78a37
|
7
|
+
data.tar.gz: cf0e518f9cf7702c43d72ab2fa7dbb4fd45b74145176a29d202952394947fd14e4a37b9994c06c7e6327eb7d864ff80779498cecd11b64b1c194e80b10ef430a
|
@@ -41,7 +41,7 @@ module Katello
|
|
41
41
|
end
|
42
42
|
|
43
43
|
def apply_inherited_attributes(attributes, initialized = true)
|
44
|
-
attributes = super(attributes, initialized)
|
44
|
+
attributes = super(attributes, initialized) || {}
|
45
45
|
facet_attrs = attributes['content_facet_attributes']
|
46
46
|
return attributes if facet_attrs.blank?
|
47
47
|
cv_id = facet_attrs['content_view_id']
|
data/lib/katello/version.rb
CHANGED
@@ -106,7 +106,7 @@ const HostContentViewDetails = ({
|
|
106
106
|
<h3>{__('Content view')}</h3>
|
107
107
|
</Flex>
|
108
108
|
<Flex direction={{ default: 'row', sm: 'row' }} flexWrap={{ default: 'wrap' }}>
|
109
|
-
<a style={{ fontSize: '14px' }} href={`/content_views/${contentView.id}`}>{
|
109
|
+
<a style={{ fontSize: '14px' }} href={`/content_views/${contentView.id}`}>{contentView.name}</a>
|
110
110
|
<Tooltip
|
111
111
|
position="top"
|
112
112
|
enableFlip
|
@@ -119,7 +119,7 @@ const HostContentViewDetails = ({
|
|
119
119
|
}}
|
120
120
|
/>}
|
121
121
|
>
|
122
|
-
<Label isTruncated color="purple" href={`/lifecycle_environments/${lifecycleEnvironment.id}`}>{
|
122
|
+
<Label isTruncated color="purple" href={`/lifecycle_environments/${lifecycleEnvironment.id}`}>{lifecycleEnvironment.name}</Label>
|
123
123
|
</Tooltip>
|
124
124
|
</Flex>
|
125
125
|
</Flex>
|
@@ -59,7 +59,7 @@ const ContentRepositories = ({ contentType, id, tabKey }) => {
|
|
59
59
|
</Thead>
|
60
60
|
<Tbody>
|
61
61
|
{results?.map((details, idx) => (
|
62
|
-
<Tr key={
|
62
|
+
<Tr key={details.id} ouiaId={`content-repositories-row-${idx}`}>
|
63
63
|
{columnHeaders.map((col, index) =>
|
64
64
|
<Td key={index}>{col.getProperty(details, typeSingularLabel)}</Td>)
|
65
65
|
}
|
@@ -49,9 +49,9 @@ const ContentViewHistories = ({ cvId }) => {
|
|
49
49
|
const taskType = task ? task.label : taskTypes[action];
|
50
50
|
|
51
51
|
if (taskType === taskTypes.removal) {
|
52
|
-
return <>{__('Deleted from ')} <Label isTruncated key="1" color="blue" href={`/lifecycle_environments/${environment?.id}`}>{
|
52
|
+
return <>{__('Deleted from ')} <Label isTruncated key="1" color="blue" href={`/lifecycle_environments/${environment?.id}`}>{environment?.name ?? __('all environments')}</Label></>;
|
53
53
|
} else if (action === 'promotion' || taskType === taskTypes.promotion) {
|
54
|
-
return <>{__('Promoted to ')}<Label isTruncated key="2" color="blue" href={`/lifecycle_environments/${environment?.id}`}>{
|
54
|
+
return <>{__('Promoted to ')}<Label isTruncated key="2" color="blue" href={`/lifecycle_environments/${environment?.id}`}>{environment?.name}</Label></>;
|
55
55
|
} else if (taskType === taskTypes.publish) {
|
56
56
|
return __('Published new version');
|
57
57
|
} else if (taskType === taskTypes.export) {
|
@@ -66,7 +66,7 @@ const AffectedActivationKeys = ({
|
|
66
66
|
</Thead>
|
67
67
|
<Tbody>
|
68
68
|
{results?.map(({ name, id, environment }) => (
|
69
|
-
<Tr ouiaId={
|
69
|
+
<Tr ouiaId={id} key={id}>
|
70
70
|
<Td>
|
71
71
|
<a rel="noreferrer" target="_blank" href={urlBuilder(`activation_keys/${id}`, '')}>{name}</a>
|
72
72
|
</Td>
|
@@ -65,7 +65,7 @@ const AffectedHosts = ({
|
|
65
65
|
id,
|
66
66
|
content_facet_attributes: { lifecycle_environment: environment },
|
67
67
|
}) => (
|
68
|
-
<Tr ouiaId={
|
68
|
+
<Tr ouiaId={id} key={id}>
|
69
69
|
<Td>
|
70
70
|
<a rel="noreferrer" target="_blank" href={urlBuilder(`hosts/${id}`, '')}>{name}</a>
|
71
71
|
</Td>
|
@@ -83,7 +83,7 @@ const RelatedContentViewsModal = ({ cvName, cvId, relatedCVCount }) => {
|
|
83
83
|
</Thead>
|
84
84
|
<Tbody>
|
85
85
|
{results?.map(details => (
|
86
|
-
<Tr key={
|
86
|
+
<Tr key={details.content_view.id} ouiaId={details.content_view.id}>
|
87
87
|
<Td>
|
88
88
|
<Link to={urlBuilder(`content_views/${details.content_view.id}`, '')}>{details.content_view.name}</Link>
|
89
89
|
</Td>
|
@@ -52,7 +52,7 @@ const ContentSourceSelect = ({
|
|
52
52
|
{contentSources.map(cs => (
|
53
53
|
<SelectOption
|
54
54
|
key={cs.id}
|
55
|
-
value={
|
55
|
+
value={cs.id}
|
56
56
|
>
|
57
57
|
{cs.name}
|
58
58
|
</SelectOption>
|
@@ -187,7 +187,11 @@ const ContentSourceForm = ({
|
|
187
187
|
className="set-select-width"
|
188
188
|
placeholderText={(contentViews.length === 0) ? __('No content views available') : __('Select a content view')}
|
189
189
|
>
|
190
|
-
{contentViews?.map(cv => <ContentViewSelectOption
|
190
|
+
{contentViews?.map(cv => (<ContentViewSelectOption
|
191
|
+
key={cv.id}
|
192
|
+
cv={cv}
|
193
|
+
env={environments[0]}
|
194
|
+
/>))}
|
191
195
|
</ContentViewSelect>
|
192
196
|
}
|
193
197
|
<ActionGroup style={{ display: 'block' }}>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: katello
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.8.
|
4
|
+
version: 4.8.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- N/A
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-08-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|