Bug 1402390 - host group names with spaces are not shown when clicking on number in host group table
Summary: host group names with spaces are not shown when clicking on number in host gr...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Host Group
Version: 6.2.4
Hardware: Unspecified
OS: Unspecified
unspecified
medium vote
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-07 12:34 UTC by daniel
Modified: 2021-06-10 11:43 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-21 16:49:54 UTC
Target Upstream Version:


Attachments (Terms of Use)
Screenshot after redirection from hg page (31.67 KB, image/png)
2017-07-10 09:19 UTC, Oleksandr Shtaier
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 15391 0 Low Closed Hostgroup host links not quoted 2020-05-15 16:13:30 UTC

Description daniel 2016-12-07 12:34:05 UTC
Description of problem:
On Host Groups Table (Configure -> Host Groups) clicking on a number in the host row for a host group that has spaces returns nil hosts


Version-Release number of selected component (if applicable):
Satellite 6.2.4 

How reproducible:


Steps to Reproduce:
1. Go to Configure - > Host group
2. Select a host Group that has spaces and click on the number in row Hosts
3. no hosts are shown


Actual results:
no hosts are shown

Expected results:
all hosts in the host group are shown

Additional info:
If the search clause is put in ticks hosts are returned as expected

Comment 3 Ivan Necas 2016-12-07 14:35:23 UTC
The link from the hostgroup number going to be fixed as part of https://bugzilla.redhat.com/show_bug.cgi?id=1341338 (as there was another change for the same code), but the link from the "Hosts including sub-groups" is not affected there, the full fix is available upstream

Comment 5 Oleksandr Shtaier 2017-07-10 09:18:52 UTC
Verified on latest 6.3(4.0) both by test automation and in manual way

Comment 6 Oleksandr Shtaier 2017-07-10 09:19:49 UTC
Created attachment 1295732 [details]
Screenshot after redirection from hg page

Comment 7 Satellite Program 2018-02-21 16:49:54 UTC
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA.

For information on the advisory, and where to find the updated files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:0336


Note You need to log in before you can comment on or make changes to this bug.