Project

General

Profile

Bug #25150

regression: @dynamic in template is always false

Added by Timo Goebel over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Templates
Target version:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

@dynamic in templates is always false because ` =~ /^#Dynamic/` was changed to `.start_with?('#Dynamic')` and the partition tables start with metadata and not with `#Dynamic`.


Related issues

Related to Foreman - Bug #21172: Unknown Variables in partition tables <%= @osver %>Closed2017-10-02
Has duplicate Foreman - Bug #24931: @dynamic kickstart variable stopped working in Foreman 1.19.0Duplicate

Associated revisions

Revision b3f8604c (diff)
Added by Peter Lehwess over 4 years ago

Fixes #25150 - Check for `#dynamic` with regex

History

#1 Updated by Timo Goebel over 4 years ago

  • Related to Bug #21172: Unknown Variables in partition tables <%= @osver %> added

#2 Updated by The Foreman Bot over 4 years ago

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

#3 Updated by Marek Hulán over 4 years ago

  • Fixed in Releases 1.19.1 added

#4 Updated by Peter Lehwess over 4 years ago

  • Status changed from Ready For Testing to Closed

#5 Updated by The Foreman Bot over 4 years ago

  • Pull request https://github.com/theforeman/foreman/pull/6129 added

#6 Updated by Tomer Brisker over 4 years ago

  • Fixed in Releases 1.20.0 added

#7 Updated by Ivan Necas over 4 years ago

  • Has duplicate Bug #24931: @dynamic kickstart variable stopped working in Foreman 1.19.0 added

Also available in: Atom PDF