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 859604

Summary: [CFSE GUI] Upexpected code is displayed in the 'undefined method...Click here for more details' message.
Product: Red Hat Satellite Reporter: Lijun Li <lijli>
Component: WebUIAssignee: David Davis <daviddavis>
Status: CLOSED ERRATA QA Contact: Corey Welton <cwelton>
Severity: high Docs Contact:
Priority: high    
Version: 6.0.1CC: aali, asettle, bkearney, cpelland, cwelton, dmacpher, gkhachik, mmccune, qe-i18n-bugs
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
A blank search resulted in an error: "undefined method `total' for []:Array (NoMethodError)" This fix corrects the search mechanism. Conducting a blank search no longer causes an error.
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-04 19:56:20 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
Upexpected code is displayed in the 'undefined method...Click here for more details' message none

Description Lijun Li 2012-09-22 11:07:39 UTC
Description of problem:
Upexpected code is displayed in the 'undefined method...Click here for more details' message.

Version-Release number of selected component (if applicable):
katello-1.1.12-7.el6cf.noarch
katello-cli-1.1.8-4.el6cf.noarch

How reproducible:
100%

Steps to Reproduce:
1. Install latest CloudForms System Engine build.
2. Log in CFSE.
3. Click the Content->Subscriptions->Red Hat Subscriptioins application subtab.
4. Click on the 'Search...' field and select an item from the list(ex. name:)
5. But do not input any name and click Search icon button.
  
Actual results:
Upexpected code is displayed in the 'undefined method...Click here for more details' message.

Expected results:
Should not to be displayed the '[]:Array()' code in the message.

Additional info:

Comment 1 Lijun Li 2012-09-22 11:08:32 UTC
'undefined method `total' for []:Array (NoMethodError)
Click here for more details.'
Also please refer to the attached screenshot.

Comment 2 Lijun Li 2012-09-22 11:09:51 UTC
Created attachment 615754 [details]
Upexpected code is displayed in the 'undefined method...Click here for more details' message

Comment 4 David Davis 2012-09-26 17:48:58 UTC
https://github.com/Katello/katello/pull/755

Katello SHA: 

c469faf0c8c76a50542f69368af8f1354b764605

Comment 7 Ajmal Ali 2012-10-16 21:16:50 UTC
*** Bug 867140 has been marked as a duplicate of this bug. ***

Comment 9 Corey Welton 2012-10-17 10:16:26 UTC
QE Verified - doing a 'search' with nothing attached to the qualifier no longer causes an error

CloudForms System Engine Version: 1.1.12-16.el6cf

Comment 12 errata-xmlrpc 2012-12-04 19:56:20 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

Comment 13 Mike McCune 2013-08-16 18:09:42 UTC
getting rid of 6.0.0 version since that doesn't exist