Project

General

Profile

Bug #16794

hammer content-view filter list is missing --organization parameter

Added by Partha Aji over 4 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1378018
Description of problem:
When referencing CV by name as in:
hammer content-view filter list --content-view "Default Organization View"
it is necessary to specify also the org but the command does not allow that.

Version-Release number of selected component (if applicable):
Tested on 6.3 snap:
  1. rpm -qa|grep hammer_cli_katello
    tfm-rubygem-hammer_cli_katello-0.1.0-1.el7.noarch

How reproducible:
Always

Steps to Reproduce:
1. hammer content-view filter list --content-view "Default Organization View"

Actual results:
Error: Could not find organization. Some search options were missing, please see --help.

Expected results:
No Error

Additional info:
- the command's build_options needs to include organization options.
- it may be applicable for other filter commands where you can specify CV by name


Related issues

Has duplicate Katello - Bug #17780: Can't specify organization in hammer content-view/repository delete/update commandsDuplicate2016-12-19

Associated revisions

Revision 463c7d63 (diff)
Added by David Davis over 4 years ago

Fixes #16794 - Add org options to filter commands (#459)

Added org options to some content view filter commands. Also added a
module to validate that the org params are supplied if a --name option
is supplied.

History

#1 Updated by The Foreman Bot over 4 years ago

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

#2 Updated by Anonymous over 4 years ago

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

#3 Updated by Eric Helms over 4 years ago

  • Legacy Backlogs Release (now unused) set to 188

#4 Updated by Andrew Kofink over 4 years ago

  • Has duplicate Bug #17780: Can't specify organization in hammer content-view/repository delete/update commands added

Also available in: Atom PDF