Project

General

Profile

Actions

Bug #9624

closed

undefined method `[]' for nil:NilClass for "New Host" and " New HostGroup"

Added by H. Salewski about 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
RPMs
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Warning!
undefined method `[]' for nil:NilClass

--> "New Host":
NoMethodError
undefined method `[]' for nil:NilClass
app/models/concerns/foreman/sti.rb:22:in `new'
app/models/concerns/foreman/sti.rb:22:in `new_with_cast'
app/models/host.rb:16:in `method_missing'
app/controllers/hosts_controller.rb:66:in `new'
app/models/concerns/foreman/thread_session.rb:33:in `clear_thread'
lib/middleware/catch_json_parse_errors.rb:9:in `call'

--> "New Host Group":
NoMethodError
undefined method `[]' for nil:NilClass
app/controllers/hostgroups_controller.rb:14:in `new'
app/controllers/hostgroups_controller.rb:14:in `new'
app/models/concerns/foreman/thread_session.rb:33:in `clear_thread'
lib/middleware/catch_json_parse_errors.rb:9:in `call'

Actions

Also available in: Atom PDF