Bug #20066

global params are not evaluated in ENC output

Added by Ohad Levy 10 months ago. Updated 10 months ago.

Status:Closed
Priority:Normal
Assigned To:Shimon Shtein
Category:External Nodes
Target version:Team Ivan Iteration 16
Difficulty: Bugzilla link:
Found in release:nightly Pull request:https://github.com/theforeman/foreman/pull/4607
Story points-
Velocity based estimate-
Release1.16.0Release relationshipAuto

Description

I have the following global param:
compute = <%= @host.compute_resource.try(:to_label) || 'Bare Metal' %>

ENC output:
... compute: "<%= @host.compute_resource.try(:to_label) || 'Bare Metal' %>"


Related issues

Related to Foreman - Refactor #15711: Remove inheritance from classification system and move ty... Closed 07/17/2016

Associated revisions

Revision 52e5776e
Added by Shimon Shtein 10 months ago

Fixes #20066 - added safe renderer to global params

History

#1 Updated by The Foreman Bot 10 months ago

  • Status changed from New to Ready For Testing
  • Assigned To set to Shimon Shtein
  • Pull request https://github.com/theforeman/foreman/pull/4607 added

#2 Updated by Ohad Levy 10 months ago

  • Related to Refactor #15711: Remove inheritance from classification system and move type specific functionality to providers framework. added

#3 Updated by Ohad Levy 10 months ago

  • Release set to 1.16.0

#4 Updated by Shimon Shtein 10 months ago

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

#5 Updated by Ivan Necas 10 months ago

  • Target version set to Team Ivan Iteration 16

Also available in: Atom PDF