Hide Forgot
+++ 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
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.)
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.
Created attachment 551131 [details] Organization/Subscriptions looks fine.