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.
Created attachment 877227[details]
publishing a CV that includes errata filter, raises error
Description of problem:
I created a filter of content-type errata under CV. But while publishing, UI throws an error:
undefined method `list_by_filter_clauses' for Katello::Util::Errata:Module
Version-Release number of selected component (if applicable):
rubygem-katello_api-0.0.8-2.el6sat.noarch
ruby193-rubygem-katello-1.5.0-22.el6sat.noarch
katello-repos-1.5.1-1.git.14.0868bd1.el6.noarch
rubygem-hammer_cli_katello-0.0.3-5.el6sat.noarch
katello-1.5.0-18.el6sat.noarch
katello-certs-tools-1.5.5-1.el6sat.noarch
katello-installer-0.0.28-1.el6sat.noarch
pulp-katello-plugins-0.2-1.el6sat.noarch
katello-ca-1.0-1.noarch
katello-apache-1.0-1.noarch
foreman-selinux-1.5.0-0.develop.el6sat.noarch
rubygem-hammer_cli_foreman-0.0.18-7.el6sat.noarch
foreman-proxy-1.5.3-1.el6sat.noarch
ruby193-rubygem-foreman-tasks-0.4.0-5.el6sat.noarch
rubygem-foreman_api-0.1.11-3.el6sat.noarch
rubygem-hammer_cli_foreman_tasks-0.0.1-4.el6sat.noarch
foreman-postgresql-1.5.0.9-1.el6sat.noarch
foreman-1.5.0.9-1.el6sat.noarch
foreman-release-1.5.0-0.develop.201403182248gitdf471c7.el6.noarch
How reproducible:
always
Steps to Reproduce:
1. create a errata filter
2. publish it
3.
Actual results:
undefined method `list_by_filter_clauses' for Katello::Util::Errata:Module
Expected results:
the view should be published with errata filter
Additional info:
Comment 1RHEL Program Management
2014-03-21 11:14:39 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.
Can you provide more details on the scenario in which you get the above error as well as attach the stack trace information?
For example,
-what products / repos are associated with the view?
-what errata filter type was created? (e.g. by id or by type/date)
-what settings were applied on the filter rule? (e.g. did it have any errata ids, start date, end date, types...etc)
First of all, I'm sorry, I should provider complete steps along with logs.
1. Create product with any name, e.g. p1
2. Add two yum repos r1 and r1 using following two URLs:
r1 repo: http://inecas.fedorapeople.org/fakerepos/zoo/
r2 repo: http://hhovsepy.fedorapeople.org/fakerepos/zoo4/
3. sync these repo.
4. Now create a CV with name cv1
5. Add repo r2 to CV1
6. Create filter of content-type errata-ID and type: include
7. add any one errata id from populated list, without selecting start-end dates.
8. Now publish cv version1
9. Boom, you will get undefined error.
I'm attaching complete stack trace. Thank you for helping on this bz.
Created attachment 877227 [details] publishing a CV that includes errata filter, raises error Description of problem: I created a filter of content-type errata under CV. But while publishing, UI throws an error: undefined method `list_by_filter_clauses' for Katello::Util::Errata:Module Version-Release number of selected component (if applicable): rubygem-katello_api-0.0.8-2.el6sat.noarch ruby193-rubygem-katello-1.5.0-22.el6sat.noarch katello-repos-1.5.1-1.git.14.0868bd1.el6.noarch rubygem-hammer_cli_katello-0.0.3-5.el6sat.noarch katello-1.5.0-18.el6sat.noarch katello-certs-tools-1.5.5-1.el6sat.noarch katello-installer-0.0.28-1.el6sat.noarch pulp-katello-plugins-0.2-1.el6sat.noarch katello-ca-1.0-1.noarch katello-apache-1.0-1.noarch foreman-selinux-1.5.0-0.develop.el6sat.noarch rubygem-hammer_cli_foreman-0.0.18-7.el6sat.noarch foreman-proxy-1.5.3-1.el6sat.noarch ruby193-rubygem-foreman-tasks-0.4.0-5.el6sat.noarch rubygem-foreman_api-0.1.11-3.el6sat.noarch rubygem-hammer_cli_foreman_tasks-0.0.1-4.el6sat.noarch foreman-postgresql-1.5.0.9-1.el6sat.noarch foreman-1.5.0.9-1.el6sat.noarch foreman-release-1.5.0-0.develop.201403182248gitdf471c7.el6.noarch How reproducible: always Steps to Reproduce: 1. create a errata filter 2. publish it 3. Actual results: undefined method `list_by_filter_clauses' for Katello::Util::Errata:Module Expected results: the view should be published with errata filter Additional info: