Project

General

Profile

Bug #25070

Macro snippet_if_exists no longer works

Added by Marek Hulán 3 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Templates
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

After refactoring of macros, snippet_if_exists no longer works because if passes variables as nil, if none is passed


Related issues

Related to Foreman - Refactor #22529: Refactor Template rendering to use a proper rendering serviceClosed

Associated revisions

Revision 82d3d234 (diff)
Added by Marek Hulán 3 months ago

Fixes #25070 - keep variables optional

History

#1 Updated by Marek Hulán 3 months ago

  • Related to Refactor #22529: Refactor Template rendering to use a proper rendering service added

#2 Updated by The Foreman Bot 3 months ago

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

#3 Updated by Lukas Zapletal 3 months ago

  • Fixed in Releases 1.20.0 added

#4 Updated by Marek Hulán 3 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF