Actions
Bug #16806
closedforeman_url template macro can't be used outside controller context
Difficulty:
Triaged:
Bugzilla link:
Pull request:
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.
Updated by Marek Hulán about 8 years ago
- Subject changed from foreman_url template macro can't be used outside controller context to foreman_url template macro can't be used outside controller context
- Category set to Templates
- Status changed from New to Assigned
- Assignee set to Marek Hulán
- Priority changed from High to Normal
Updated by The Foreman Bot about 8 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/3919 added
Updated by Marek Hulán about 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset aff897f876e43d7201b408de46e0d0a8ba9190fe.
Updated by Dominic Cleal about 8 years ago
- Translation missing: en.field_release set to 190
Updated by Marek Hulán about 8 years ago
- Related to Bug #16899: All help buttons are broken added
Updated by Dominic Cleal about 8 years ago
- Translation missing: en.field_release changed from 190 to 189
Moving due to the issue and complex fix in #16899.
Actions