Project

General

Profile

Actions

Bug #1918

closed

Cannot dis-associate a template kind from an OS

Added by Greg Sutcliffe over 11 years ago. Updated over 11 years ago.

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

Description

If you have a single template for a given template kind (say, script) then your combo-box in OS->Templates will look like:

script: [blank]
ScriptTemplate

If you have selected ScriptTemplate in the past, and now select [blank] and Save the OS, the association isn't deleted - the OS still uses ScriptTemplate.

This makes it impossible to then delete ScriptTemplate itself, as it's still in use by the OS.

Actions #1

Updated by Robert Birnie over 11 years ago

Pull request: https://github.com/theforeman/foreman/pull/214

I think this'll fix it. Works for me right now.

Actions #2

Updated by Robert Birnie over 11 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF