Actions
Bug #12417
openPreview of PXELinux global default errs
Status:
Ready For Testing
Priority:
Normal
Assignee:
-
Category:
Templates
Target version:
-
Difficulty:
Triaged:
Description
When using the preview function while editing the "PXELinux global default" template an error is returned in the UI.
"There was an error rendering the PXELinux global default template: undefined method `each' for nil:NilClass."
I've attached a traceback. It appears this errors is caused by not passing the @profiles variable into the template.
Files
Updated by Dominic Cleal about 9 years ago
- Related to Feature #11035: Allow all templates preview during their creation and editing added
Updated by The Foreman Bot almost 8 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/community-templates/pull/375 added
Updated by Konrad Scherer almost 8 years ago
Had the same problem rendering the PXEGrub2 template on 1.14.2. I am using Foreman with bare metal machines only and do not have any profiles defined.
Fortunately the fix is simple and I created a pull request with fixes for the 3 affected templates.
Actions