Project

General

Custom queries

Profile

Actions

Bug #12417

open

Preview of PXELinux global default errs

Added by Brandon Weeks over 9 years ago. Updated about 8 years ago.

Status:
Ready For Testing
Priority:
Normal
Assignee:
-
Category:
Templates
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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

traceback.txt traceback.txt 14.8 KB Brandon Weeks, 11/06/2015 08:04 PM

Related issues 1 (0 open1 closed)

Related to Foreman - Feature #11035: Allow all templates preview during their creation and editingClosedMarek Hulán07/07/2015Actions
#1

Updated by Dominic Cleal over 9 years ago

  • Related to Feature #11035: Allow all templates preview during their creation and editing added
#2

Updated by The Foreman Bot about 8 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/community-templates/pull/375 added
Actions

Also available in: Atom PDF