Bug 1408861

Summary: When clicking location hyperlink from a host, location is missing quotations
Product: Red Hat Satellite Reporter: Kathryn Dixon <kdixon>
Component: HostsAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Adam Ruzicka <aruzicka>
Severity: low Docs Contact:
Priority: low    
Version: 6.2.6CC: aruzicka, bbuckingham, inecas, jcallaha, tbrisker
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:51:07 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:
Embargoed:
Attachments:
Description Flags
verification screenshot none

Description Kathryn Dixon 2016-12-27 20:04:04 UTC
Description of problem:

Click on a host under hosts > all hosts , then click on the hyperlink for location of host

It will take you to the location search and use the Location name ie Default_Organization and show you 0 entries found.

This is due to location search requires quotes so the hyperlink should take you to location = "Default_organization"

If you do manually place the quotes on the page, this will work.


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


How reproducible: 100%


Steps to Reproduce:
1. click on a host
2. click on the location hyperlink under properties
3. hyperlink will take you to the location =

Actual results:

no entries will be found

Expected results:

location = " location name here" and results will be shown


Additional info:

Comment 3 Tomer Brisker 2016-12-28 08:03:16 UTC
Connecting redmine issue http://projects.theforeman.org/issues/17277 from this bug

Comment 6 Bryan Kearney 2016-12-28 09:04:36 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/17277 has been resolved.

Comment 8 Adam Ruzicka 2017-08-16 08:58:20 UTC
Created attachment 1314016 [details]
verification screenshot

Comment 9 Adam Ruzicka 2017-08-16 08:58:44 UTC
Verified.
Version Tested: Satellite-6.3 Snap 11
Package versions:
foreman-1.15.3-1.el7sat.noarch
satellite-6.3.0-16.0.beta.el7sat.noarch

1) Created a location with space in name
2) Assigned a host to the location
3) Navigated to host's details
4) Clicked the location name
5) Index of hosts in that location shown, location name quoted properly, see screenshot in #8

Comment 10 Satellite Program 2018-02-21 16:51:07 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