Project

General

Profile

Actions

Bug #15469

closed

Editing an ordinary host gives undefined method `[]' for nil:NilClass

Added by Lukas Zapletal almost 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Discovery plugin
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Introduced with #4426.

undefined method `[]' for nil:NilClass
/home/lzap/work/foreman_discovery/app/helpers/discovered_hosts_helper.rb:83:in `host_taxonomy_select'

It's this line:

selected_taxonomy = params[:host][tax_id]

Related issues 1 (0 open1 closed)

Related to Discovery - Feature #4426: Allow changing/setting of organisation and location in the "Provision Host" screenClosedLukas Zapletal02/24/2014Actions
Actions #1

Updated by Lukas Zapletal almost 8 years ago

  • Related to Feature #4426: Allow changing/setting of organisation and location in the "Provision Host" screen added
Actions #2

Updated by The Foreman Bot almost 8 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Shimon Shtein
  • Pull request https://github.com/theforeman/foreman_discovery/pull/278 added
Actions #3

Updated by Shimon Shtein almost 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF