Bug 1329541

Summary: link to list of hosts managed by capsule on capsule page creates invalid search term
Product: Red Hat Satellite Reporter: Jan Hutař <jhutar>
Component: CapsuleAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2.0CC: bkearney, ehelms, jentrena, kdixon, sthirugn, xdmoon
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-12 01:32:11 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:

Description Jan Hutař 2016-04-22 08:09:57 UTC
Description of problem:
When I click at link with number of hosts on a capsule detail page, it fills search box with invalid search pattern (incorrectly escaped url?).


Version-Release number of selected component (if applicable):
satellite-6.2.0-8.2.beta.el7sat.noarch


How reproducible:
always


Steps to Reproduce:
1. Have a Sat and capsule
2. Infrastructure -> Capsules -> <capsule> -> click to link next to
   "Hosts managed" (I had there 0, but I assume that is not important)


Actual results:
You are taken to:

  https://<fqdn>/hosts?search=smart_proxy%2B%3D%2B%22<capsule>%22

and in the search box there is:

  smart_proxy+=+"<capsule>"


Expected results:
There shouldn't be these "+" in search box:

  smart_proxy = "<capsule>"

Comment 2 Bryan Kearney 2016-07-26 15:25:24 UTC
Moving 6.2 bugs out to sat-backlog.

Comment 3 Bryan Kearney 2016-07-26 15:29:31 UTC
Moving 6.2 bugs out to sat-backlog.