Bug #28629
closed
Importing templates with 'associate: never' does not import provisioning templates
Added by Ondřej Pražák about 5 years ago.
Updated almost 5 years ago.
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
- 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
- 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.
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/7371 added
- Fixed in Releases 2.1.0 added
- Status changed from Ready For Testing to Closed
Also available in: Atom
PDF