Project

General

Profile

Actions

Bug #17108

closed

Content view erratum filter by date: default types to all

Added by Brad Buckingham about 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Content Views
Target version:
Difficulty:
easy
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1386688

Description of problem:

When creating a content view erratum by date filter in the UI,
the default behavior is to set 'types' to all supported types
(e.g. security, enhancement, bugfix). In addition, the user
is required to select at least one type.

This is inconsistent with the API/CLI where the user
does not have to specify 'types'.

The intent of this issue is to make the API/CLI behave
consistently with the UI.

Steps to Reproduce:

1. create a erratum by date filter rule:

hammer> content-view filter rule create --content-view-id 5 --content-view-filter-id 11 --start-date "2000-01-01" --end-date "2016-10-16"
Filter rule created

2. inspect the created rule
hammer> content-view filter info --content-view-id 5 --id 11

Actual results:

Observe that 'Types' is not included.

Expected results:

If 'types' is not provided, default it to all supported. E.g.:
Types: bugfix, enhancement, security

Actions #1

Updated by Brad Buckingham about 8 years ago

  • Subject changed from Content view erratum filter by date: default types to all to Content view erratum filter by date: default types to all
  • Assignee set to Brad Buckingham
  • Target version set to 133
  • Difficulty set to easy
Actions #2

Updated by The Foreman Bot about 8 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/6410 added
Actions #3

Updated by Justin Sherrill about 8 years ago

  • Priority changed from High to Normal
  • Translation missing: en.field_release set to 188
Actions #4

Updated by Brad Buckingham about 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF