Bug 772265

Summary: Package Filters: "+Add" should be disabled if item in dropdown is not a top level provider
Product: Red Hat Satellite Reporter: Corey Welton <cwelton>
Component: WebUIAssignee: Shannon Hughes <shughes>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: 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-01-31 02:10:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Corey Welton 2012-01-06 16:23:39 UTC
Description of problem:
the "+Add" link next to the dropdown for "Add Products and Repositories" only works when the dropdown item selected is a top level provider. It should either be disabled when choosing a repo, or it should be fixed to allow selection of repos.

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


How reproducible:


Steps to Reproduce:
1. Sync RH and EPEL content
2. Content management > providers > Package Filters > +New Filter
3. Create new filter, "fibble".
4. fibble > Products and Repositories
5. Attempt to choose a sublevel item from the products and repos dropdown (like RH or EPEL repos); click +Add.
6. Attempt to choose a toplevel item from the dropdown (like the respective RH and EPEL products themselves); click +Add.
Actual results:

User cannot select repos themselves.

Expected results:

Either user should be able to select repos, 
or 
+Add should be disabled for those menu items. 

Additional info:

 Actually, since selecting a product automatically creates a secondary dropdown for its repos, I'm not sure why repos show up in the top box in the first place.

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

Comment 2 Jeff Weiss 2012-01-31 02:10:20 UTC

*** This bug has been marked as a duplicate of bug 767083 ***