Project

General

Profile

Bug #4573

Better error message for unknown template kind

Added by Tomáš Strachota over 4 years ago. Updated about 1 month ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman commands (obsolete)
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

When creating a template with unknown template kind (other than what's listed in 'hammer template kinds') hammer responds with "Template kind can't be blank"
The error should be "unknown template kind" or something similar. Template update is most likely affected as well.

hammer template create --name tpl89 --file ./template.txt --type unknown
Could not create the config template:
  Template kind can't be blank

Associated revisions

Revision 5e5a08b6 (diff)
Added by Rahul Bajaj 10 months ago

Fixes #4573 -Better error message for unknown template kind

Revision b818865e (diff)
Added by Tomas Strachota 10 months ago

Refs #4573 - "unknown template kind" message translated

History

#1 Updated by Tomáš Strachota about 1 year ago

  • Difficulty set to trivial

#2 Updated by Rahul Bajaj about 1 year ago

  • Assignee set to Rahul Bajaj

#3 Updated by Rahul Bajaj 11 months ago

  • Target version set to 220

#4 Updated by The Foreman Bot 10 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/hammer-cli-foreman/pull/337 added

#5 Updated by Rahul Bajaj 10 months ago

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

#6 Updated by Martin Bacovsky 10 months ago

  • Legacy Backlogs Release (now unused) set to 290

#7 Updated by The Foreman Bot 10 months ago

  • Pull request https://github.com/theforeman/hammer-cli-foreman/pull/338 added

Also available in: Atom PDF