Bug #17801
openWebUI - Select an Organization pages throws 500 - MissingTemplate: Missing template bastion/layouts/application on selecting an org
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1387528
Description of problem:
There's a traceback complaining about missing Bastion template on selecting an organization on 'Select an Organization Page':
2016-10-21 03:46:16 0f220d7d [app] [W] Action failed
| ActionView::MissingTemplate: Missing template bastion/layouts/application with {:locale=>[:en], :formats=>[:json, :text, "version=2; */*"], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :rabl]}. Searched in:
...
(attaching full traceback in a log)
Version-Release number of selected component (if applicable):
6.3.0 snap#5
How reproducible:
always
Steps to Reproduce:
1. change your organization context to Any Organization
2. navigate to a page requiring an org context (e.g. activation keys)
3. on 'select an organization' select an org, submit and watch foreman/production.log
Actual results:
2016-10-21 03:46:16 0f220d7d [app] [W] Action failed
| ActionView::MissingTemplate: Missing template bastion/layouts/application with {:locale=>[:en], :formats=>[:json, :text, "version=2; */*"], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :rabl]}. Searched in:
| * "/usr/share/foreman/app/views"
...
...
...
2016-10-21 03:46:16 0f220d7d [app] [F]
| ActionView::MissingTemplate (Missing template common/500 with {:locale=>[:en], :formats=>[:json, :text, "version=2; */*"], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :rabl]}. Searched in:
...
Expected results:
no traceback
Additional info: