Project

General

Profile

Actions

Bug #20145

closed

Updating a snippet requires template kind

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

Status:
Closed
Priority:
Normal
Category:
Provisioning templates
Difficulty:
Triaged:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

When updating a snippet and --type parameter is missing the command returns error message saying "Template kind can't be blank".
--type shouldn't be required for updates.

> hammer template create --name tst --type snippet --file /root/hammer/hammer-cli-foreman/tst.erb                                                                                                
Provisioning template created
> hammer template update --name tst --locked true
Could not update the provisioning template:
  This template is locked. Please clone it to a new template to customize.
  Template kind can't be blank
Actions #1

Updated by The Foreman Bot almost 7 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/hammer-cli-foreman/pull/316 added
Actions #2

Updated by Tomáš Strachota almost 7 years ago

  • Bugzilla link set to 1462588
Actions #3

Updated by Anonymous almost 7 years ago

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

Updated by Tomáš Strachota almost 7 years ago

  • translation missing: en.field_release set to 243
Actions

Also available in: Atom PDF