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 8 years ago. Updated over 5 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 #1

Updated by The Foreman Bot over 8 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2591 added
  • Pull request deleted ()
Actions #2

Updated by Dominic Cleal over 8 years ago

  • Related to Feature #3971: Show a warning when PXE template is edited added
Actions #3

Updated by Marek Hulán over 8 years ago

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

Also available in: Atom PDF