Project

General

Profile

Actions

Bug #32065

closed

Including a nonexistent job template exercises bad code, thereby masking the original problem

Added by Dominique Quatravaux over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Difficulty:
Triaged:
No

Description

Steps to reproduce:

  1. Prepare a new job template (menu → Hosts → Job templates → New Job Template →
  2. Type <%= render_template("Does not exist") %>
  3. Click Preview

Expected result: an error message informing the user that there is no template named “Does not exist”

Actual result:

Problem with previewing the template: error during rendering: undefined method `error_message=' for #<ForemanRemoteExecution::Renderer::Scope::Input:0x00007f8e54cf0910>.
Actions

Also available in: Atom PDF