Project

General

Profile

Bug #55176

Updated by Sarthak Gupta about 2 years ago

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. 

 <pre><code class="json"> 
 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) 
 </code></pre> 

Back