Project

General

Profile

Bug #20762

`hammer content-view filter rule info` requires --content-view-filter-id when specifying --id

Added by Andrew Kofink over 4 years ago. Updated almost 4 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
Content Views
Target version:
Difficulty:
trivial
Triaged:
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

$ hammer content-view filter rule info --id 13
Error: Could not find content_view_filter, please set one of options --content-view-filter, --content-view-filter-id.

ID is unique and shouldn't require the filter ID.

History

#1 Updated by John Mitsch over 4 years ago

  • Legacy Backlogs Release (now unused) set to 250

#2 Updated by Andrew Kofink over 4 years ago

  • Assignee set to Andrew Kofink

#3 Updated by Andrew Kofink over 4 years ago

  • Status changed from New to Rejected
  • Legacy Backlogs Release (now unused) deleted (250)

Actually, since ContentViewFilterRule objects come from 4 different tables/models (ContentViewPackageFilterRule, ContentViewPackageGroupFilterRule, ContentViewErratumFilterRule, and ContentViewDockerFilterRule), id is not unique, so the filter ID is required.

#4 Updated by Justin Sherrill over 4 years ago

  • Legacy Backlogs Release (now unused) set to 166

Also available in: Atom PDF