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.
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.
- Call template_labels from a plugin registration (e.g. foreman_bootdisk master branch)
- View the templates list, check it's showing the friendly name
- Edit TemplateKind, to reload the class
- Refresh the template list, the friendly name will disappear
- Related to Bug #14395: Hosts > Operating Systems > [OS] > Templates tab: "provision" field label is lowercase, should be "Provision" added
- Related to Refactor #12747: Provide some kind of central store or consistent way to manage dynamically registered objects from plugins added
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/3444 added
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
- Translation missing: en.field_release set to 136
Also available in: Atom
PDF