Project

General

Profile

Bug #17108

Content view erratum filter by date: default types to all

Added by Brad Buckingham over 4 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Category:
Content Views
Target version:
Difficulty:
easy
Triaged:
Bugzilla link:
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

Associated revisions

Revision 15a4ac65 (diff)
Added by Brad Buckingham over 4 years ago

fixes #17108 - content view erratum filter: default types

When creating a content view erratum by date/type filter rule,
if the user does not provide a value for 'types', default
it to all supported types (e.g. enhancement,bugfix,security).

This behavior is consistent with the default provided
by the UI.

History

#1 Updated by Brad Buckingham over 4 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

#2 Updated by The Foreman Bot over 4 years ago

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

#3 Updated by Justin Sherrill over 4 years ago

  • Priority changed from High to Normal
  • Legacy Backlogs Release (now unused) set to 188

#4 Updated by Brad Buckingham over 4 years ago

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

Also available in: Atom PDF