Project

General

Profile

Actions

Bug #23867

closed

CV Package filters not handling greater than or less than properly

Added by Partha Aji almost 6 years ago. Updated almost 6 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
Category:
Content Views
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Given a CV that is using an exclude filter for RPMS. The filter has a rule that is using version range on a package. After changing this rule to "Greater than",
no packages got excluded when publishing the CV.

Steps to Reproduce:
1. Create a CV with "Red Hat Enterprise Linux 7 Server RPMs x86_64 7Server " repo

2. Create an exclude fitler for kernel pacakge like this

Type: Exclude
RPM: kernel
Version "range": between 3.10.0-327.36.3.el7 and 3.10.0-693.36.3.el7

3. update the same filter rule created in 2 to:

Type: Exclude
RPM: kernel
Version "Greater than": 3.10.0-693.36.3.el7

4. publish the CV

Actual results:

Kernel 3.10.0-862.2.3.el7 is included

Expected results:

Kernel 3.10.0-862.2.3.el7 should not be included because it is higher than 3.10.0-693.36.3


Related issues 1 (0 open1 closed)

Is duplicate of Katello - Bug #20876: Editing a content view package filter rule with greater or less than breaks the filterClosedJustin Sherrill09/07/2017Actions
Actions #1

Updated by Partha Aji almost 6 years ago

  • Target version set to 160
Actions #2

Updated by Partha Aji almost 6 years ago

  • Bugzilla link set to 1582049
Actions #3

Updated by Partha Aji almost 6 years ago

  • Is duplicate of Bug #20876: Editing a content view package filter rule with greater or less than breaks the filter added
Actions #4

Updated by Partha Aji almost 6 years ago

  • Status changed from New to Closed
Actions #5

Updated by Justin Sherrill almost 6 years ago

  • Status changed from Closed to Duplicate
  • translation missing: en.field_release set to 166
Actions

Also available in: Atom PDF