Bug #19928

Uniqueness validation in package filter rule doesn't consider architecture

Added by David Davis about 1 year ago. Updated 12 months ago.

Status:New
Priority:Normal
Assigned To:Kavita Gaikwad
Category:Content Views
Target version:-
Difficulty: Pull request:
Bugzilla link: Found in Katello release:
Story points-
Velocity based estimate-
ReleaseKatello BacklogRelease relationshipAuto

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 about 1 year ago

  • Assigned To set to Kavita Gaikwad

#2 Updated by Justin Sherrill 12 months ago

  • Release set to Katello Backlog

Also available in: Atom PDF