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 - [CFSE GUI] Upexpected code is displayed in the 'undefined method...Click here for more details' message.
Summary: [CFSE GUI] Upexpected code is displayed in the 'undefined method...Click here...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: 6.0.1
Hardware: x86_64
OS: Linux
high
high
Target Milestone: Unspecified
Assignee: David Davis
QA Contact: Corey Welton
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-22 11:07 UTC by Lijun Li
Modified: 2019-09-25 20:44 UTC (History)
9 users (show)

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.
Clone Of:
Environment:
Last Closed: 2012-12-04 19:56:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Upexpected code is displayed in the 'undefined method...Click here for more details' message (38.34 KB, image/png)
2012-09-22 11:09 UTC, Lijun Li
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 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


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