Actions
Bug #8228
closeddefault_template_url removed from API controllers, causes PXE menu build failure
Description
#4463 removed default_template_url methods from the two API controllers, but left it in the UI controller. This method is called by PXE default templates, e.g.
ks=<%= default_template_url(profile[:template], profile[:hostgroup]) %>
https://github.com/theforeman/community-templates/blob/master/pxe/PXELinux_default.erb#L25
I see it's been fixed in the UI controller for the #4463 bug, but the code should have been moved somewhere common, not removed in 2/3 places.
failed to process template: undefined method `default_template_url' for #<Api::V2::ConfigTemplatesController:0x0000000a0ada48>
Updated by Dominic Cleal about 10 years ago
- Related to Bug #4463: Default profiles templates default to https:// connection for kickstart added
Updated by The Foreman Bot about 10 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/1913 added
- Pull request deleted (
)
Updated by Shlomi Zadok about 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 563fa283aff363801d5cd160ab0c54f6c7634d98.
Updated by Dominic Cleal about 10 years ago
- Translation missing: en.field_release changed from 28 to 29
Actions