Actions
Bug #35536
closedTemplate input_resource macro & preview error
Description
Preconditions
will still raise an "no implicit conversion of nil into String." error while previewing the template
- Create new job template
echo '<%= input_resource('organization').title %>'
- Add template input
Input Type: user input Value type: resource Resource Type: organization
- Try to preview the template
- Run job invocation & verify that preview templates tab doesn't show any errors
Not fixed:
echo '<%= input_resource('organization') %>'
will still raise an "no implicit conversion of nil into String." error while previewing the template
Updated by The Foreman Bot about 2 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/9428 added
Updated by Leos Stejskal about 2 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman|1b245d59b149c1228a70ae54ec6fccf39b38dd8a.
Updated by Ewoud Kohl van Wijngaarden almost 2 years ago
- Triaged changed from No to Yes
Actions