-
Bug
-
Resolution: Won't Do
-
Undefined
-
None
-
6.14.z, 6.15.z, stream
Description of problem:
The Hosts table contains duplicate hidden columns.
It has no impact on the table functionality, but duplicating the content unnecessarily increases the data amount on the page and it has also some negative effects on the Satellite UI testing (see SAT-26404 for more).
How reproducible:
always
Is this issue a regression from an earlier version:{}
No, seems to be present in Satellite for a long time.
Steps to Reproduce:
1. Go to page Hosts -> All Hosts
2. Ensure some hosts are displayed.
3. In browser, open Developer tools ans inspect the <td> column elements in a hosts table row.
Actual behavior:
These duplicate hidden columns are always present (no matter how many columns are selected via Manage columns):
- Name
- Operating system (*technically not a duplicate, the displayed column has name just 'OS', but still irrelevant to be on the page)
- Model
- Owner
- Host group
- Last report
- Comment
Expected behavior:
No duplicate columns are present in the table.
Business Impact / Additional info:
The problem is not the hidden columns but the duplicate ones which neatively affects our UI tests. Though it is not a TestBlocker.
HTML example of the table header:
<tr> <th class="ca" width="40px"><input type="checkbox" name="check_all" id="check_all" ...></th> <th width="80px" class="ca hidden-xs">Power</th> <th width="12%" class="hidden-xs ellipsis" data-original-title="" title=""><a href="/hosts?order=insights_recommendations_count+ASC">Recommendations</a></th> <th width="24%"><a href="/hosts?order=name+ASC">Name</a></th> <th width="17%" class="hidden-tablet hidden-xs ellipsis" title="" data-original-title="Operating system"><a href="/hosts?order=os_title+ASC">OS</a></th> <th width="8%" class="hidden-tablet hidden-xs ellipsis" data-original-title="" title=""><a href="/hosts?order=owner+ASC">Owner</a></th> <th width="15%" class="hidden-tablet hidden-xs ellipsis" data-original-title="" title=""><a href="/hosts?order=hostgroup+ASC">Host group</a></th> <th width="10%" class="hidden-tablet hidden-xs ellipsis" data-original-title="" title=""><a href="/hosts?order=boot_time+ASC">Boot time</a></th> <th width="10%" class="hidden-tablet hidden-xs ellipsis" data-original-title="" title=""><a href="/hosts?order=last_report+DESC">Last report</a></th> <th width="7%" class="hidden-tablet hidden-xs ellipsis" data-original-title="" title=""><a href="/hosts?order=comment+ASC">Comment</a></th> <th width="10%" class="hidden-tablet hidden-xs ellipsis" data-original-title="" title=""><a href="/hosts?order=model+ASC">Model</a></th> <th hidden="true" width="25%"><a href="/hosts?order=name+ASC">Name</a></th> <th hidden="true" class="hidden-xs" width="17%"><a href="/hosts?order=os_title+ASC">Operating system</a></th> <th hidden="true" class="hidden-tablet hidden-xs" width="10%"><a href="/hosts?order=model+ASC">Model</a></th> <th hidden="true" class="hidden-tablet hidden-xs" width="8%"><a href="/hosts?order=owner+ASC">Owner</a></th> <th hidden="true" class="hidden-tablet hidden-xs" width="15%"><a href="/hosts?order=hostgroup+ASC">Host group</a></th> <th hidden="true" class="hidden-tablet hidden-xs" width="10%"><a href="/hosts?order=last_report+DESC">Last report</a></th> <th hidden="true" class="hidden-tablet hidden-xs" width="7%"><a href="/hosts?order=comment+ASC">Comment</a></th> <th width="100px">Actions</th> </tr>