Actions
Bug #32065
closedIncluding a nonexistent job template exercises bad code, thereby masking the original problem
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:
Description
Steps to reproduce:
- Prepare a new job template (menu → Hosts → Job templates → New Job Template →
- Type
<%= render_template("Does not exist") %>
- 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