Project

General

Profile

Actions

Bug #16806

closed

foreman_url template macro can't be used outside controller context

Added by Marek Hulán over 7 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Templates
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

When foreman_url is used in a template which is rendered out of controller context it fails with url_for. I'm afraid it's not reproducible with pure Foreman atm but the Renderer should include url helpers so once it's included, all it's macros can be used. The issue is easily reproducible from remote execution plugin, when foreman_url is put in job template and then previewed.


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #16899: All help buttons are brokenClosedMarek Hulán10/13/2016Actions
Actions

Also available in: Atom PDF