Bug #55176
mgr/dashboard: datatable in Cluster Host page hides wrong column on selection.
% Done:
0%
Source:
Development
Tags:
Backport:
pacific quincy
Regression:
No
Severity:
2 - major
Reviewed:
Description
Problem:
In the Cluster>Hosts page, on toggling off any columns bellow "Model" like "CPUs", "Cores" etc, the "Model" column get unchecked and hidden and not the one that was unchecked.
This issue was faced in ceph dev env with no hosts.
Reason:
This is due to the fact that for some of the columns the "prop" attribute is for some reason getting set to empty string.
0: {name: 'Hostname', prop: 'hostname', flexGrow: 1, isHidden: false, resizeable: false, …}
1: {name: 'Services', prop: 'services', flexGrow: 2, cellTemplate: TemplateRef, isHidden: false, …}
2: {name: 'Labels', prop: 'labels', flexGrow: 1, cellTransformation: 'badge', customTemplateConfig: {…}, …}
3: {name: 'Status', prop: 'status', flexGrow: 1, cellTransformation: 'badge', customTemplateConfig: {…}, …}
4: {name: 'Model', prop: '', flexGrow: 1, resizeable: false, $$id: 'qw4m', …}
5: {name: 'CPUs', prop: '', flexGrow: 0.3, resizeable: false, $$id: 'f1dj', …}
6: {name: 'Cores', prop: '', flexGrow: 0.3, resizeable: false, $$id: 'fso9', …}
7: {name: 'Total Memory', prop: '', pipe: DimlessBinaryPipe, flexGrow: 0.4, resizeable: false, …}
8: {name: 'Raw Capacity', prop: '', pipe: DimlessBinaryPipe, flexGrow: 0.5, resizeable: false, …}
9: {name: 'HDDs', prop: '', flexGrow: 0.3, resizeable: false, $$id: 'u1tz', …}
10: {name: 'Flash', prop: '', headerTemplate: TemplateRef, flexGrow: 0.3, resizeable: false, …}
11: {name: 'NICs', prop: '', flexGrow: 0.3, resizeable: false, $$id: 'od1t', …}
length: 12
[[Prototype]]: Array(0)
Related issues
History
#1 Updated by Sarthak Gupta over 1 year ago
- Description updated (diff)
#2 Updated by Sarthak Gupta over 1 year ago
- Subject changed from mgr/dashboard: data table in Cluster Host page hides wrong column on slection. to mgr/dashboard: datatable in Cluster Host page hides wrong column on selection.
#3 Updated by Sarthak Gupta over 1 year ago
- Status changed from New to Fix Under Review
- Pull request ID set to 45790
#4 Updated by Ernesto Puerta over 1 year ago
- Status changed from Fix Under Review to Pending Backport
#5 Updated by Backport Bot over 1 year ago
- Copied to Backport #55273: pacific: mgr/dashboard: datatable in Cluster Host page hides wrong column on selection. added
#6 Updated by Backport Bot over 1 year ago
- Copied to Backport #55274: quincy: mgr/dashboard: datatable in Cluster Host page hides wrong column on selection. added
#7 Updated by Ernesto Puerta over 1 year ago
- Status changed from Pending Backport to Resolved