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 842003 - Content Search - Errata: Hitting submit on a blank search in the "Repos" div throws error
Summary: Content Search - Errata: Hitting submit on a blank search in the "Repos" div ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Unspecified
Assignee: Justin Sherrill
QA Contact: Corey Welton
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-20 20:07 UTC by Corey Welton
Modified: 2019-09-25 20:44 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Empty content searches for errata on a freshly installed system with nothing synced gave an index missing exception error. This fix corrects the content search controller and the error no longer appears.
Clone Of:
Environment:
Katello Version: 0.2.47-1.git.225.b3aa579.el6_3
Last Closed: 2012-12-04 19:47:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
ruby trace (8.32 KB, text/plain)
2012-07-20 20:10 UTC, Corey Welton
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2012:1543 0 normal SHIPPED_LIVE Important: CloudForms System Engine 1.1 update 2012-12-05 00:39:57 UTC

Description Corey Welton 2012-07-20 20:07:47 UTC
Description of problem:
I suspect this only occurs on a system where errata in ANY org -- the testing one or otherwise -- have never been synced.

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

Katello Version: 0.2.47-1.git.225.b3aa579.el6_3

How reproducible:


Steps to Reproduce:
1. Install a fresh system.  Assure nothing is yet synced, particularly not RH repos.  I also used --deployment=cfse but that might not matter.
2.  Create/sync a Provider ("Google"), Product ("Google Chrome") and Repos ("x86_64", http://dl.google.com/linux/chrome/rpm/stable/x86_64) ("i386", http://dl.google.com/linux/chrome/rpm/stable/i386)  
3.  Content > Content Search
4. in the left-hand Browse pane, choose a dropdown of "Errata".
5. In the resulting "Repos" box, click to focus on the first search field.
6. Do not enter anything; click submit.
  
Actual results:

404 : {"error":"IndexMissingException[[katello_errata] missing]","status":404} (Tire::Search::SearchRequestFailed)
Click here for more details.

Expected results:
Presumably blank results.

Additional info:

Comment 1 Corey Welton 2012-07-20 20:10:00 UTC
Created attachment 599458 [details]
ruby trace

Comment 2 Corey Welton 2012-07-20 20:24:13 UTC
Actually, this may occur with any of the search fields - Products, Repos or Errata

Comment 3 Justin Sherrill 2012-08-01 21:00:42 UTC
Key here is that the errata search index did not exist.  So to properly reproduce, no errata ever should have been synced in any organization.

e9bf154b5341e84820bc55a96994b7d6854980f6   

will move to on_dev after merge to master.

Comment 5 Corey Welton 2012-09-18 16:02:24 UTC
QE Verified.
CloudForms System Engine Version: 1.1.12-7.el6cf

Comment 7 errata-xmlrpc 2012-12-04 19:47:46 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.

http://rhn.redhat.com/errata/RHSA-2012-1543.html


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