Project

General

Profile

Bug #19928

Uniqueness validation in package filter rule doesn't consider architecture

Added by David Davis over 1 year ago. Updated 4 months ago.

Status:
New
Priority:
Normal
Category:
Content Views
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Looking at the code, we check against all fields except arch to determine uniqueness:

https://github.com/Katello/katello/commit/a43dc492bd1a2cf4c112a6ebd2ca6c84de078e45

I believe we should also consider the architecture field which was added here:

https://github.com/Katello/katello/commit/ccc874945ef77b6060c96e9c5c58abf251f1411e

Steps to reproduce (I think, have not tested this out):

1. Create a content view package filter and specify arch
2. Create the same filter but with a different arch

History

#1 Updated by Kavita Gaikwad over 1 year ago

  • Assignee set to Kavita Gaikwad

#2 Updated by Justin Sherrill over 1 year ago

  • Legacy Backlogs Release (now unused) set to 114

Also available in: Atom PDF