Bug #32927
closedError while displaying a webhook template preview
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1977840
Description of problem:
Satellite WebUI shows an error when trying to display a preview of webhook template.
Version-Release number of selected component (if applicable):
Sat 6.10 Snap 6
How reproducible:
always
Steps to Reproduce:
1. Create a new webhook template, or use an existing one.
2. Open the template and try to go to the "Preview" tab
Actual results:
There is an error message saying "There was an error rendering the Ansible Tower - delete host template: undefined method '#name' for NilClass::Jail (NilClass)"
THe render area says "Error during rendering, Return to Editor tab. "
Expected results:
Either the Preview button is not available at all, or the preview works correctly.