Project

General

Profile

Actions

Bug #25128

closed

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

Added by Timo Goebel over 5 years ago. Updated over 5 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

Also available in: Atom PDF