Project

General

Profile

Actions

Bug #14742

closed

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

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

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 #1

Updated by Dominic Cleal almost 8 years ago

  • Related to Bug #14395: Hosts > Operating Systems > [OS] > Templates tab: "provision" field label is lowercase, should be "Provision" added
Actions #2

Updated by Dominic Cleal almost 8 years ago

  • Related to Refactor #12747: Provide some kind of central store or consistent way to manage dynamically registered objects from plugins added
Actions #3

Updated by The Foreman Bot almost 8 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/3444 added
Actions #4

Updated by Dominic Cleal almost 8 years ago

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

Updated by Dominic Cleal almost 8 years ago

  • translation missing: en.field_release set to 136
Actions

Also available in: Atom PDF