Project

General

Profile

Actions

Bug #32065

closed

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

Added by Dominique Quatravaux about 3 years ago. Updated about 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 #1

Updated by Dominique Quatravaux about 3 years ago

  • Fixed in Releases foreman_remote_execution-4.2.4 added
Actions #2

Updated by The Foreman Bot about 3 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman_remote_execution/pull/568 added
Actions #3

Updated by Dominique Quatravaux about 3 years ago

  • Fixed in Releases deleted (foreman_remote_execution-4.2.4)
  • Found in Releases foreman_remote_execution-4.2.4 added
Actions #4

Updated by Adam Ruzicka about 3 years ago

  • Target version set to foreman_remote_execution-4.3.1
Actions #5

Updated by The Foreman Bot about 3 years ago

  • Fixed in Releases foreman_remote_execution 4.1.1 added
Actions #6

Updated by Anonymous about 3 years ago

  • Status changed from Ready For Testing to Closed
Actions #7

Updated by Adam Ruzicka about 3 years ago

  • Fixed in Releases foreman_remote_execution-4.3.1 added
  • Fixed in Releases deleted (foreman_remote_execution 4.1.1)
Actions

Also available in: Atom PDF