Bug #11565
closedhamer create a filter with an in correct types returns a bad error message
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1228384
Running this command:
[root@dhcp137-206 lab_scripts]# hammer content-view filter create --name="April 1" --organization "Summit 2015" --content-view "RHEL 7 SOE" --type="errata"
Could not create the filter:
Invalid content type '' provided. Content types can be one of
the valid type should have been erratum.
Versions
rubygem-hammer_cli_foreman_bootdisk-0.1.2.7-1.el7sat.noarch
rubygem-hammer_cli_import-0.10.16-1.el7sat.noarch
rubygem-hammer_cli-0.1.4.11-1.el7sat.noarch
rubygem-hammer_cli_foreman-0.1.4.13-1.el7sat.noarch
rubygem-hammer_cli_gutterball-0.0.1.2-1.el7sat.noarch
rubygem-hammer_cli_foreman_discovery-0.0.1.10-1.el7sat.noarch
rubygem-hammer_cli_katello-0.0.7.14-1.el7sat.noarch
rubygem-hammer_cli_foreman_docker-0.0.3.6-1.el7sat.noarch
rubygem-hammer_cli_foreman_tasks-0.0.3.4-1.el7sat.noarch
katello-common-2.2.0.11-1.el7sat.noarch
katello-certs-tools-2.2.1-1.el7sat.noarch
katello-installer-base-2.3.11-1.el7sat.noarch
katello-debug-2.2.0.11-1.el7sat.noarch
katello-default-ca-1.0-1.noarch
katello-installer-2.3.11-1.el7sat.noarch
ruby193-rubygem-katello-2.2.0.46-1.el7sat.noarch
rubygem-hammer_cli_katello-0.0.7.14-1.el7sat.noarch
pulp-katello-0.5-1.el7sat.noarch
katello-server-ca-1.0-1.noarch
katello-service-2.2.0.11-1.el7sat.noarch
katello-2.2.0.11-1.el7sat.noarch