Bug 1402390

Summary: host group names with spaces are not shown when clicking on number in host group table
Product: Red Hat Satellite Reporter: daniel <dmoessne>
Component: Host GroupAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.2.4CC: bbuckingham, inecas, jcallaha, oshtaier
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-21 16:49:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Screenshot after redirection from hg page none

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