Red Hat Bugzilla – Bug 842003
Content Search - Errata: Hitting submit on a blank search in the "Repos" div throws error
Last modified: 2014-09-18 12:41:49 EDT
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:
Created attachment 599458 [details] ruby trace
Actually, this may occur with any of the search fields - Products, Repos or Errata
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.
QE Verified. CloudForms System Engine Version: 1.1.12-7.el6cf
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