Project

General

Profile

Bug #25150

regression: @dynamic in template is always false

Added by Timo Goebel about 1 month ago. Updated about 1 month ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Templates
Target version:
Team Backlog:
Fixed in Releases:
Found in Releases:

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 about 1 month ago

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

History

#1 Updated by Timo Goebel about 1 month ago

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

#2 Updated by The Foreman Bot about 1 month 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 about 1 month ago

  • Fixed in Releases 1.19.1 added

#4 Updated by Peter Lehwess about 1 month ago

  • Status changed from Ready For Testing to Closed

#5 Updated by The Foreman Bot about 1 month ago

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

#6 Updated by Tomer Brisker about 1 month ago

  • Fixed in Releases 1.20.0 added

#7 Updated by Ivan Necas about 1 month ago

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

Also available in: Atom PDF