Bug #25128
Template Renderer: Variables loader registry is not kept when the class is inherited
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Templates
Target version:
-
Pull request:
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
Associated revisions
History
#1
Updated by Timo Goebel about 1 year ago
- Related to Refactor #22529: Refactor Template rendering to use a proper rendering service added
#2
Updated by The Foreman Bot about 1 year ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/6112 added
#3
Updated by Timo Goebel about 1 year ago
- Fixed in Releases 1.20.0 added
#4
Updated by Anonymous about 1 year ago
- Status changed from Ready For Testing to Closed
Applied in changeset e50e4ffae2cea3b683322414f364ccf021e54fbe.
fixes #25128 - variables loader works with inherited classes