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 1018069 - Removing rule parameters raised undefined method error
Summary: Removing rule parameters raised undefined method error
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: 6.0.2
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: Unspecified
Assignee: Mike McCune
QA Contact: Sachin Ghai
URL:
Whiteboard:
: 957650 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-11 06:53 UTC by Sachin Ghai
Modified: 2019-09-26 17:43 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-04-24 17:09:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
undefined method error while removing filter rule's parameters (88.55 KB, image/png)
2013-10-11 06:53 UTC, Sachin Ghai
no flags Details
undefined method error while removing package-group rule (60.46 KB, image/png)
2013-10-11 07:05 UTC, Sachin Ghai
no flags Details
undefined method error while removing filter rule's parameters (snap7 compose2) (44.93 KB, image/png)
2013-10-28 07:48 UTC, Sachin Ghai
no flags Details
success on removing rule parameters (snap8) (89.67 KB, image/png)
2013-10-31 08:45 UTC, Sachin Ghai
no flags Details

Description Sachin Ghai 2013-10-11 06:53:08 UTC
Created attachment 810881 [details]
undefined method error while removing filter rule's parameters

Description of problem:
I created a filter of type errata and selected errata-id ("RHEA-2012:3642") and saved the rule. Later I tried to remove it and then UI raised following error:

    undefined method `join' for nil:NilClass (NoMethodError)
    Click here for more details.

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

katello-1.4.6-21.el6sat.noarch

How reproducible:
always

Steps to Reproduce:
1. create a cv definition
2. select the product/repo from content-tab
3. create a cv filter
4. select the repo from repo tab
5. Add rule and select filter type 'Errata'
6. select the 'Errata-id"..
7. Use auto-completion
8. save the rule
9. select the checkbox and click 'Remove' to delete the added rule


Actual results:
undefined method `join' for nil:NilClass (NoMethodError)
    Click here for more details.


Expected results:
Rule parameters should be removed successfully

Additional info:

Comment 2 Sachin Ghai 2013-10-11 07:04:08 UTC
Found same issue with package groups.

Comment 3 Sachin Ghai 2013-10-11 07:05:50 UTC
Created attachment 810884 [details]
undefined method error while removing package-group rule

Comment 4 manjiri tapaswi 2013-10-18 19:52:46 UTC
PR: https://github.com/Katello/katello/pull/3214

Comment 5 Og Maciel 2013-10-21 18:37:37 UTC
*** Bug 957650 has been marked as a duplicate of this bug. ***

Comment 6 manjiri tapaswi 2013-10-24 15:23:28 UTC
Commit: c5f7a8f

Comment 8 Sachin Ghai 2013-10-28 07:43:01 UTC
Still reproducible with Snap7 compose2:

signo-katello-0.0.23-2.el6sat.noarch
katello-1.4.6-49.el6sat.noarch
katello-qpid-client-key-pair-1.0-1.noarch
katello-cli-common-1.4.3-27.el6sat.noarch
katello-foreman-all-1.4.6-49.el6sat.noarch
katello-candlepin-cert-key-pair-1.0-1.noarch
ruby193-rubygem-katello_api-0.0.3-4.el6sat.noarch
katello-selinux-1.4.4-4.el6sat.noarch
pulp-katello-plugins-0.2-1.el6sat.noarch
katello-configure-foreman-1.4.7-7.el6sat.noarch
katello-certs-tools-1.4.4-1.el6sat.noarch
katello-qpid-broker-key-pair-1.0-1.noarch
katello-glue-elasticsearch-1.4.6-49.el6sat.noarch
katello-glue-pulp-1.4.6-49.el6sat.noarch
ruby193-rubygem-foreman-katello-engine-0.0.17-7.el6sat.noarch
katello-configure-1.4.7-7.el6sat.noarch
katello-glue-candlepin-1.4.6-49.el6sat.noarch
katello-cli-1.4.3-27.el6sat.noarch
katello-all-1.4.6-49.el6sat.noarch
katello-common-1.4.6-49.el6sat.noarch
ruby193-rubygem-katello-foreman-engine-0.0.12-3.el6sat.noarch

Comment 9 Sachin Ghai 2013-10-28 07:48:05 UTC
Created attachment 816712 [details]
undefined method error while removing filter rule's parameters (snap7 compose2)

Comment 12 Sachin Ghai 2013-10-31 08:44:21 UTC
Verified with Snap8 (MDP2)


katello-qpid-client-key-pair-1.0-1.noarch
ruby193-rubygem-katello_api-0.0.3-4.el6sat.noarch
katello-glue-pulp-1.4.6-55.el6sat.noarch
katello-certs-tools-1.4.4-1.el6sat.noarch
katello-foreman-all-1.4.6-55.el6sat.noarch
katello-candlepin-cert-key-pair-1.0-1.noarch
katello-selinux-1.4.4-4.el6sat.noarch
katello-1.4.6-55.el6sat.noarch
katello-cli-1.4.3-28.el6sat.noarch
katello-qpid-broker-key-pair-1.0-1.noarch
katello-glue-elasticsearch-1.4.6-55.el6sat.noarch
ruby193-rubygem-katello-foreman-engine-0.0.12-4.el6sat.noarch
ruby193-rubygem-foreman-katello-engine-0.0.17-7.el6sat.noarch
pulp-katello-plugins-0.2-1.el6sat.noarch
katello-glue-candlepin-1.4.6-55.el6sat.noarch
katello-configure-foreman-1.4.7-7.el6sat.noarch
katello-cli-common-1.4.3-28.el6sat.noarch
katello-all-1.4.6-55.el6sat.noarch
katello-common-1.4.6-55.el6sat.noarch
katello-configure-1.4.7-7.el6sat.noarch


The reported issue is fixed now I can remove the rule parameters successfully.

Comment 13 Sachin Ghai 2013-10-31 08:45:32 UTC
Created attachment 817756 [details]
success on removing rule parameters (snap8)

Comment 15 Bryan Kearney 2014-04-24 17:09:54 UTC
This was verified and delivered with MDP2. Closing it out.

Comment 16 Bryan Kearney 2014-04-24 17:11:17 UTC
This was delivered and verified with MDP2. Closing the bug.


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