Project

General

Profile

Bug #11565

hamer create a filter with an in correct types returns a bad error message

Added by Brad Buckingham over 3 years ago. Updated 7 months ago.

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

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

Associated revisions

Revision 90d359d0 (diff)
Added by Brad Buckingham over 3 years ago

fixes #11565 - content view filter - fix formatting on error messages

This is to change:
Invalid content type '' provided. Content types can be one of

to:
Invalid content type 'errata' provided. Content types can be one of rpm, package_group, erratum

Revision f25fe191
Added by Brad Buckingham over 3 years ago

Merge pull request #5440 from bbuckingham/issue-11565

fixes #11565 - content view filter - fix formatting on error messages

History

#1 Updated by The Foreman Bot over 3 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/5440 added
  • Pull request deleted ()

#2 Updated by Brad Buckingham over 3 years ago

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

#3 Updated by Eric Helms over 3 years ago

  • Legacy Backlogs Release (now unused) set to 70
  • Triaged changed from No to Yes

Also available in: Atom PDF