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:
# rpm -qa|grep hammer_cli_katello
Steps to Reproduce:
1. hammer content-view filter list --content-view "Default Organization View"
Error: Could not find organization. Some search options were missing, please see --help.
- 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
Created redmine issue http://projects.theforeman.org/issues/16794 from this bug
Upstream bug component is Content Management
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/16794 has been resolved.
*** Bug 1379991 has been marked as a duplicate of this bug. ***
*** Bug 1398677 has been marked as a duplicate of this bug. ***
validated and verified by test automation
2017-06-30 14:34:39 - robottelo.ssh - INFO - >>> LANG=en_US.UTF-8 hammer -v -u admin -p changeme --output=csv content-view filter list --organization="YfPa9a" --per-page="10000" --content-view="wxJzEigqMn"
2017-06-30 14:34:41 - robottelo.ssh - INFO - <<< stdout
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA.
For information on the advisory, and where to find the updated files, follow the link below.
If the solution does not work for you, open a new bug report.