Bug #33855
closedCannot add filter on same RPM name with different architectures
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1732590
Description of problem:
You cannot add a filter rule on the same RPM name that has different architectures. In the reproduction step, I'm using the "rest" rpm from rhel7 server because it has 2 different architecture.
Version-Release number of selected component (if applicable):
6.6.0 snap 12
How reproducible:
100%
Steps to Reproduce:
1. Sync rhel7 server RPM
2. Create a CV and add the above repo
3. Yum Content -> filter
4. Create a Package exclusion filter
5. Add rule: name = rest, architecture = x86_64, version = all version
6. Hit save
7. Add another rule: name = rest, architecture = i686, version = all version
8. Hit save
Actual results:
Validation failed: This package filter rule already exists.
Expected results:
Rule added successfully
Additional info:
Rhel7 server rpm has firefox packages with 2 types of rest dependencies. One "rest" has x86_64 dependency and the other "rest" has "i686" dependency.
Updated by The Foreman Bot about 3 years ago
- Status changed from New to Ready For Testing
- Assignee set to Samir Jha
- Pull request https://github.com/Katello/katello/pull/9767 added
Updated by Justin Sherrill about 3 years ago
- Target version changed from Katello 4.4.0 to Katello 4.3.0
- Triaged changed from No to Yes
Updated by The Foreman Bot about 3 years ago
- Fixed in Releases Katello 4.4.0 added
Updated by Samir Jha about 3 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|92d6184444a0f4d2cfb70062539a543f3b4a6d58.