Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2216194

Summary: Search in Settings returns Error 500 in search suggestions dropdown
Product: Red Hat Satellite Reporter: Matyas Strelec <mstrelec>
Component: SettingsAssignee: Ewoud Kohl van Wijngaarden <ekohlvan>
Status: CLOSED ERRATA QA Contact: Matyas Strelec <mstrelec>
Severity: medium Docs Contact:
Priority: high    
Version: 6.14.0CC: ahumbe, lstejska, pcreech, pondrejk, rlavi, shwsingh
Target Milestone: 6.14.0Keywords: Triaged, UserExperience
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: foreman-3.7.0.7-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-11-08 14:19:51 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
Search field returning Error in the suggestions none

Description Matyas Strelec 2023-06-20 12:37:52 UTC
Created attachment 1971718 [details]
Search field returning Error in the suggestions

Description of problem:
When using the search bar in Administer -> Settings, the search bar suggestion dropdown returns `Error: Request failed with status code 500` instead of the search suggestions.

Version-Release number of selected component (if applicable):
Satellite 6.14.0 snap 3

How reproducible:
Always

Steps to Reproduce:
1. Go to Administer -> Settings
2. Type anything in the search bar but don't press Enter
3. See the error in the Search suggestions dropdown

Actual results:
`Error: Request failed with status code 500` in the search suggestions dropdown

Expected results:
Search suggestions in the dropdown

Comment 1 Ron Lavi 2023-06-27 06:38:10 UTC
*** Bug 2216747 has been marked as a duplicate of this bug. ***

Comment 2 Girija Soni 2023-06-27 09:48:34 UTC
Created redmine issue https://projects.theforeman.org/issues/36537 from this bug

Comment 3 Shweta Singh 2023-07-24 12:12:49 UTC
*** Bug 2224983 has been marked as a duplicate of this bug. ***

Comment 4 Bryan Kearney 2023-08-08 12:03:10 UTC
Upstream bug assigned to ekohlvan

Comment 5 Bryan Kearney 2023-08-08 12:03:12 UTC
Upstream bug assigned to ekohlvan

Comment 6 Leos Stejskal 2023-08-10 06:01:52 UTC
Upstream PR has been merged, moving to POST

Comment 8 Matyas Strelec 2023-08-24 10:14:47 UTC
Verified:

Verified with:
- Satellite 6.14.0 snap 13
- foreman-3.7.0.7-1.el8sat.noarch

Test steps:
- Go to Administer -> Settings
- Type a query in the search bar, don't press enter 

Observation:
- Correct suggestions appear in the search dropdown

Comment 11 errata-xmlrpc 2023-11-08 14:19:51 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 (Important: Satellite 6.14 security and bug fix update), 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-2023:6818