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 769898 - Organizations / Subscriptions error "undefined method 'each' for nil:NilClass
Summary: Organizations / Subscriptions error "undefined method 'each' for nil:NilClass
Keywords:
Status: CLOSED CURRENTRELEASE
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: Tom McKay
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On: 769896
Blocks: katello-blockers
TreeView+ depends on / blocked
 
Reported: 2011-12-22 16:29 UTC by Tom McKay
Modified: 2013-03-27 20:55 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 769896
Environment:
Last Closed: 2012-08-22 18:16:01 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Organization/Subscriptions looks fine. (36.28 KB, image/png)
2012-01-06 11:45 UTC, Sachin Ghai
no flags Details

Description Tom McKay 2011-12-22 16:29:21 UTC
+++ This bug was initially created as a clone of Bug #769896 +++

Description of problem:

After importing a manifest, visit ACME_Organization's Organizations / Subscriptions page to see error.

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

candlepin-0.5.8-1

Comment 1 Tom McKay 2012-01-03 22:30:34 UTC
ommit b050732b0b88ef35a92b94c829279107862d5857
Author: Tom McKay <thomasmckay>
Date:   Tue Jan 3 17:18:56 2012 -0500

    Bug 769896 - Organizations / Subscriptions error "undefined method 'each' for nil:NilClass
    https://bugzilla.redhat.com/show_bug.cgi?id=769896
    https://bugzilla.redhat.com/show_bug.cgi?id=769898
    + This problem arose from an additional class, MarketingProduct, that extended
      Product. The lazy_accessor.rb methods could not handle this which caused
      the attributes to go missing. The fix is to check a class's parent for the
      lazy_attributes method and add it to the list of attributes. (This is done
      recursively up the hierarchy until a class stops responding to that method.)

Comment 2 Sachin Ghai 2012-01-06 11:44:33 UTC
verified with latest katello build. 


[root@dhcp201-214 ~]# rpm -qa | grep katello
katello-configure-0.1.49-1.el6.noarch
katello-0.1.167-1.el6.noarch
katello-qpid-broker-key-pair-1.0-1.noarch
katello-cli-common-0.1.33-1.el6.noarch
katello-glue-foreman-0.1.167-1.el6.noarch
katello-trusted-ssl-cert-1.0-1.noarch
katello-glue-candlepin-0.1.167-1.el6.noarch
katello-glue-pulp-0.1.167-1.el6.noarch
katello-httpd-ssl-key-pair-1.0-1.noarch
katello-repos-0.1.4-1.el6.noarch
katello-cli-0.1.33-1.el6.noarch
katello-common-0.1.167-1.el6.noarch
katello-all-0.1.167-1.el6.noarch
katello-certs-tools-1.0.1-1.el6.noarch
[root@dhcp201-214 ~]# 


[root@dhcp201-214 ~]# rpm -qa | grep candlepin
candlepin-tomcat6-0.5.8-1.el6.noarch
candlepin-0.5.8-1.el6.noarch
katello-glue-candlepin-0.1.167-1.el6.noarch
[root@dhcp201-214 ~]# 


The reported issue has been fixed. Please see the attachment in next comment.

Comment 3 Sachin Ghai 2012-01-06 11:45:23 UTC
Created attachment 551131 [details]
Organization/Subscriptions looks fine.


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