Project

General

Profile

Actions

Bug #4573

closed

Better error message for unknown template kind

Added by Tomáš Strachota about 10 years ago. Updated almost 6 years ago.

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

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
Actions

Also available in: Atom PDF