Project

General

Profile

Actions

Bug #5653

closed

Error when clicking on host from host properties

Added by Tim Klemz about 10 years ago. Updated almost 10 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Web Interface
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

System was upgraded from 1.4.4 to 1.5.0 on a RHEL 6.5 system

After upgrade to 1.5, when clicking on a specific host name from the host properties screen of the Foreman webpage, the following error is displayed within the browser

ArgumentError
wrong number of arguments (1 for 2)
 app/views/hosts/show.html.erb:4:in `_app_views_hosts_show_html_erb__3569032296685811931_90162660'
app/models/concerns/foreman/thread_session.rb:33:in `clear_thread'
lib/middleware/catch_json_parse_errors.rb:9:in `call' 
Actions #1

Updated by Dominic Cleal almost 10 years ago

I'd try and restart httpd once more, in case the app hasn't fully reloaded. Also check if you have any plugins installed that they're on the latest available versions.

If you still have issues, check ~foreman/app/helpers/hosts_helper.rb and around line 228, verify that host_title_actions is declared with only a single argument:
https://github.com/theforeman/foreman/blob/1.5-stable/app/helpers/hosts_helper.rb#L228

Actions #2

Updated by Dominic Cleal almost 10 years ago

  • Category set to Web Interface
  • Status changed from New to Feedback
Actions #3

Updated by Tim Klemz almost 10 years ago

You were correct.. I thought I has all the plugins updated, but I had missed the bootdisk plugin. Updating that and rebooting solved the issue

Actions #4

Updated by Dominic Cleal almost 10 years ago

  • Status changed from Feedback to Resolved

Good to hear!

Actions

Also available in: Atom PDF