Project

General

Profile

Actions

Bug #25128

closed

Template Renderer: Variables loader registry is not kept when the class is inherited

Added by Timo Goebel about 6 years ago. Updated about 6 years ago.

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

Description

It seems like the variables loader registry is not kept when the class is inherited. E.g. if I have an instance of ::Foreman::Renderer::Scope::Provisioning, @kernel is set. If I make class Bootdisk < ::Foreman::Renderer::Scope::Provisioning then @kernel is not set in an instance of Bootdisk.


Related issues 1 (0 open1 closed)

Related to Foreman - Refactor #22529: Refactor Template rendering to use a proper rendering serviceClosedTimo GoebelActions
Actions #1

Updated by Timo Goebel about 6 years ago

  • Related to Refactor #22529: Refactor Template rendering to use a proper rendering service added
Actions #2

Updated by The Foreman Bot about 6 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/6112 added
Actions #3

Updated by Timo Goebel about 6 years ago

  • Fixed in Releases 1.20.0 added
Actions #4

Updated by Anonymous about 6 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF