Bug #17636
closed
Template preview requires token to be present for template proxying
Added by Lukas Zapletal about 8 years ago.
Updated over 6 years ago.
Description
Basically I fixed #14479 only in lib/foreman/renderer.rb
while we have another copy in app/models/concerns/host_template_helpers.rb
. Preview and real template rendering give different results at the moment.
Ideal solution is to refactor this, but we have a separate ticket for that: #8290.
- Related to Bug #14479: Function foreman_url check for tokens added
- Description updated (diff)
- Related to Bug #8290: dry the foreman_url logic that exists in both renderer and host_templates_helper added
- Status changed from New to Ready For Testing
- Assignee set to Lukas Zapletal
- Pull request https://github.com/theforeman/foreman/pull/4103 added
- Target version set to 1.4.3
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
- Translation missing: en.field_release set to 210
- Bugzilla link set to 1404582
- Target version changed from 1.4.3 to 1.15.5
Also available in: Atom
PDF