Bug 767083 - pkg filters: Nothing happens on UI when user selects repo without selecting the product first
Summary: pkg filters: Nothing happens on UI when user selects repo without selecting t...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: 6.0.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium vote
Target Milestone: Unspecified
Assignee: Eric Helms
QA Contact: Katello QA List
URL:
Whiteboard:
: 772265 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-13 07:50 UTC by Sachin Ghai
Modified: 2019-09-26 13:26 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-22 20:55:02 UTC
Target Upstream Version:


Attachments (Terms of Use)
now user can select the repo directly without selecting the product first (43.21 KB, image/png)
2012-02-16 07:59 UTC, Sachin Ghai
no flags Details

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


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