Project

General

Profile

Actions

Bug #11283

closed

Template form does not work with template which does not define operatingsystem association

Added by Marek Hulán over 9 years ago. Updated over 6 years ago.

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

Description

By coincidence, both template types that we have in core have operatingsystems association, so the form renders properly for them. Other templates that are added from plugins that do not have this association, therefore an error occurs when rendering the form. We should check whether the method is defined first. The breaking change was introduced in 1.10 by https://github.com/theforeman/foreman/commit/a377f776e51d6b046ad0d28a56d1427777a51797


Related issues 1 (0 open1 closed)

Related to Foreman - Feature #3971: Show a warning when PXE template is editedClosedOndřej Pražák01/08/2014Actions
Actions

Also available in: Atom PDF