Project

General

Profile

Actions

Bug #20762

closed

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

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

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

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.

Actions #1

Updated by John Mitsch over 6 years ago

  • translation missing: en.field_release set to 250
Actions #2

Updated by Andrew Kofink over 6 years ago

  • Assignee set to Andrew Kofink
Actions #3

Updated by Andrew Kofink over 6 years ago

  • Status changed from New to Rejected
  • translation missing: en.field_release 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.

Actions #4

Updated by Justin Sherrill over 6 years ago

  • translation missing: en.field_release set to 166
Actions

Also available in: Atom PDF