Project

General

Profile

Actions

Bug #21809

closed

Visiting /smart_proxies/:id with Bastion fails 'undefined method include_plugin_styles'

Added by Daniel Lobato Garcia over 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Fixed in Releases:
Found in Releases:

Description

When going to the smart proxies list and clicking on a random proxy, the following error shows up, and the page renders a 500:

| NoMethodError - undefined method `include_plugin_styles' for #<#&lt;Class:0x007f955d95ff98&gt;:0x000000030b21f8>:
|   /home/vagrant/bastion/app/views/bastion/layouts/assets.html.erb:8:in `block (2 levels) in _8111bf94c2ef01dda727efb8ee6f12cf'
|   /home/vagrant/bastion/app/views/bastion/layouts/assets.html.erb:7:in `each'
|   /home/vagrant/bastion/app/views/bastion/layouts/assets.html.erb:7:in `block in _8111bf94c2ef01dda727efb8ee6f12cf'
|   /home/vagrant/bastion/app/views/bastion/layouts/assets.html.erb:5:in `_8111bf94c2ef01dda727efb8ee6f12cf'
|   /home/vagrant/katello/app/views/katello/layouts/foreman_with_bastion.html.erb:5:in `_df8737a93e1e9b8cea1e1189f89a2014'
|   /home/vagrant/katello/app/controllers/katello/concerns/smart_proxies_controller_extensions.rb:9:in `show'
|   app/controllers/concerns/application_shared.rb:15:in `set_timezone'
|   app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
|   app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller'
|   lib/middleware/catch_json_parse_errors.rb:8:in `call'
|   lib/middleware/session_safe_logging.rb:17:in `call'
|   lib/middleware/tagged_logging.rb:18:in `call'
|   /home/vagrant/katello/lib/katello/prevent_json_parsing.rb:12:in `call'

Related issues 1 (0 open1 closed)

Has duplicate Katello - Bug #21891: Clicking on smart proxy server stopped working after 3.5rc upgradeDuplicate12/06/2017Actions
Actions

Also available in: Atom PDF