Project

General

Profile

Actions

Bug #28629

closed

Importing templates with 'associate: never' does not import provisioning templates

Added by Ondřej Pražák almost 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Category:
Templates
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Importing Provisioning Template from UI with "associate: never" gives "templateKindId: can't be blank" error even though template kind is specified in metadata


Files

template-kind-id.png View template-kind-id.png 40.6 KB Ondřej Pražák, 01/03/2020 11:09 AM
Actions #1

Updated by Ondřej Pražák almost 5 years ago

  • File template-kind-id.png template-kind-id.png added
  • Subject changed from [UI] Importing templates with 'associate: never' does not import provisioning templates to [UI] Importing templates with 'associate: never' does not import provisioning templates
Actions #2

Updated by Ondřej Pražák almost 5 years ago

  • Project changed from Templates to Foreman
  • Subject changed from [UI] Importing templates with 'associate: never' does not import provisioning templates to Importing templates with 'associate: never' does not import provisioning templates
  • Category set to Templates
  • Assignee set to Ondřej Pražák

The bug manifests in foreman_templates on template import, but the cause is that we skip associating template kind when 'associate' import option is 'never'. Without template kind, the provisioning template does not pass validations and it needs to be fixed in core.

Actions #3

Updated by The Foreman Bot almost 5 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/7371 added
Actions #4

Updated by The Foreman Bot over 4 years ago

  • Fixed in Releases 2.1.0 added
Actions #5

Updated by Ondřej Pražák over 4 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF