Project

General

Profile

Actions

Bug #14742

closed

Template kind friendly names from plugins can be reloaded and lost in development

Added by Dominic Cleal over 8 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

Template kind friendly names added through the plugin template labels interface can be lost when TemplateKind is reloaded, as it's stored in a class variable.

  1. Call template_labels from a plugin registration (e.g. foreman_bootdisk master branch)
  2. View the templates list, check it's showing the friendly name
  3. Edit TemplateKind, to reload the class
  4. Refresh the template list, the friendly name will disappear

Related issues 2 (0 open2 closed)

Related to Foreman - Bug #14395: Hosts > Operating Systems > [OS] > Templates tab: "provision" field label is lowercase, should be "Provision"ClosedOndřej Pražák03/30/2016Actions
Related to Foreman - Refactor #12747: Provide some kind of central store or consistent way to manage dynamically registered objects from pluginsResolved12/08/2015Actions
Actions

Also available in: Atom PDF