Bug #25150
regression: @dynamic in template is always false
Difficulty:
Triaged:
No
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
Associated revisions
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
Applied in changeset b3f8604c0a6a94e73333518faed2975eaa7b3728.
#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
Fixes #25150 - Check for `#dynamic` with regex