Red Hat Bugzilla – Bug 981639
User shouldn't be allowed to add same package in content-view filter repeatedly
Last modified: 2017-08-15 16:13:57 EDT
Created attachment 769216 [details]
same package 'cow' is added thrice
Description of problem:
User shouldn't be allowed to add same package in content-view filter repeatedly, especially when user choose 'All version'.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. create a content-view definition
2. Create a package filter
3. include/exclude the same package repeatedly
User can add same package in cv filter repeatedly
shouldn't be allowed to add same package, when user selects 'All Version'
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.
This seems like an necessary restriction, and becomes more complicated with the fact that you can have multiple rules on a filter and multiple filters on a definition. I do not feel this is worthy to do.
Yeah, we can apply multiple rules on a filter but would be nice if we somehow restrict user to add add same rule multiple times and on a single filter.
Created redmine issue http://projects.theforeman.org/issues/16186 from this bug
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/16186 has been resolved.
Created attachment 1219119 [details]
satellite-6.3.0-6.1.beta.el7sat.noarch - RHEL6 and RHEL7
As in attached image system does not allow duplicate package to be added to the same filter.
*** Bug 1402826 has been marked as a duplicate of this bug. ***