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.

Bug 767083

Summary: pkg filters: Nothing happens on UI when user selects repo without selecting the product first
Product: Red Hat Satellite Reporter: Sachin Ghai <sghai>
Component: WebUIAssignee: Eric Helms <ehelms>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.1CC: cwelton, ehelms, mmccune
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-22 20:55:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
now user can select the repo directly without selecting the product first none

Description Sachin Ghai 2011-12-13 07:50:50 UTC
Description of problem:
I created a filter and tried to add directly a repository and I selected the repository from drop down.

1. First I *think* user should not be allowed to select the repository directly without selecting the product first.

2. +ADD button was active. Nothing happens on UI when I clicked on it

3. save filter was active. UI went to busy state when I clicked on "save filter"
and nothing happened on UI. No error/notification on UI.


I can save the filter successfully when I select a product then the repository within that. 


Version-Release number of selected component (if applicable):
[root@dhcp201-220 Packages]# rpm -qa | grep katello
katello-0.1.135-2.el6.x86_64
katello-configure-0.1.31-2.el6.noarch
katello-glue-candlepin-0.1.135-2.el6.x86_64
katello-qpid-broker-key-pair-1.0-1.noarch
katello-cli-0.1.23-3.el6.noarch
katello-trusted-ssl-cert-1.0-1.noarch
katello-cli-common-0.1.23-3.el6.noarch
katello-glue-pulp-0.1.135-2.el6.x86_64
katello-all-0.1.135-2.el6.x86_64
katello-glue-foreman-0.1.135-2.el6.x86_64
katello-common-0.1.135-2.el6.noarch
katello-httpd-ssl-key-pair-1.0-1.noarch
katello-certs-tools-1.0.1-2.el6.

How reproducible:
always

Steps to Reproduce:
1. Create a filter ( select provider ==> package filter ==> new filter)
2. add the packages which you want to blacklist
3. Select the repository first, not the product.
4. click +Add and save filter
  
Actual results:
-  Active +ADD button but nothing happens on UI when I clicked on it

- Active "save filter". UI went to busy state when I clicked on "save filter"
and nothing happened on UI. No error/notification on UI.

Expected results:
I think either 'save filter' should be disabled or a warning message should be raised for user to select the product first and then the repo within that.

Additional info:

Comment 1 Mike McCune 2012-01-26 19:38:48 UTC
mass move to CFSE product.

Comment 2 Jeff Weiss 2012-01-31 02:10:20 UTC
*** Bug 772265 has been marked as a duplicate of this bug. ***

Comment 3 Eric Helms 2012-02-13 19:22:05 UTC
b48800a846f421c4d1fe0da632eefd5924e51973

Selecting a Repository from the top level selector and clicking +Add link should now add the product the repository belongs to and the repository from the UI.

Comment 4 Sachin Ghai 2012-02-16 07:58:20 UTC
Verified with following katello build:

katello-0.1.237-1.el6.noarch
katello-cli-0.1.54-1.el6.noarch
katello-glue-pulp-0.1.237-1.el6.noarch
pulp-0.0.264-1.el6.noarch


Selecting a repo directly from the UI and clicking on +Add link should now add the repos along with the product to which it belongs to.

Comment 5 Sachin Ghai 2012-02-16 07:59:25 UTC
Created attachment 562430 [details]
now user can select the repo directly without selecting the product first

Comment 6 Mike McCune 2013-08-16 17:57:24 UTC
getting rid of 6.0.0 version since that doesn't exist