Bug 1387528

Summary: WebUI - Select an Organization pages throws 500 - MissingTemplate: Missing template bastion/layouts/application on selecting an org
Product: Red Hat Satellite Reporter: Roman Plevka <rplevka>
Component: WebUIAssignee: satellite6-bugs <satellite6-bugs>
WebUI sub component: Katello QA Contact: Roman Plevka <rplevka>
Status: CLOSED WONTFIX Docs Contact:
Severity: medium    
Priority: medium CC: bbuckingham, bkearney, dnunes, jcallaha, jjansky, kbidarka, nkathole, rplevka, walden
Version: 6.3.0Keywords: Triaged
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/17801
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-04 17:57:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
foreman/production.log none

Description Roman Plevka 2016-10-21 07:54:05 UTC
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:

Comment 1 Roman Plevka 2016-10-21 07:56:27 UTC
Created attachment 1212728 [details]
foreman/production.log

Comment 3 Walden Raines 2016-12-20 14:58:26 UTC
Can you still reproduce this issue?

Comment 4 Roman Plevka 2016-12-20 15:27:03 UTC
Yes, still able to reproduce it the same way.

- please note this is only reproducible after switching to the org from the 'select organization' dialog. Switching to it from the main toolbar does not invoke the error.

Comment 5 Walden Raines 2016-12-20 15:27:26 UTC
Created redmine issue http://projects.theforeman.org/issues/17801 from this bug

Comment 6 Walden Raines 2016-12-20 15:28:52 UTC
(In reply to Roman Plevka from comment #4)
> Yes, still able to reproduce it the same way.
> 
> - please note this is only reproducible after switching to the org from the
> 'select organization' dialog. Switching to it from the main toolbar does not
> invoke the error.

Was also able to reproduce this.

Comment 14 Marek Hulan 2017-09-18 12:57:45 UTC
*** Bug 1483241 has been marked as a duplicate of this bug. ***

Comment 15 Marek Hulan 2017-09-18 12:58:17 UTC
*** Bug 1487227 has been marked as a duplicate of this bug. ***

Comment 19 Bryan Kearney 2018-09-04 17:57:33 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in the product in the foreseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.

Comment 20 Red Hat Bugzilla 2023-09-15 00:00:22 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days