Project

General

Profile

Actions

Bug #9552

closed

Auto_provision from discovered host view form shows an error

Added by Ori Rabin almost 10 years ago. Updated almost 10 years ago.

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

Description

The actual error says

 NoMethodError in Discovered_hosts#show
 undefined method `to_label' for nil:NilClass

but this is a result of auto_provision trying to go back to the view form for a discovered_host that no longer exists.
It should redirect to the managed hosts display page or back to the list of discovered hosts.

Actions #1

Updated by Ori Rabin almost 10 years ago

  • Status changed from New to Assigned
  • Assignee set to Ori Rabin
Actions #2

Updated by The Foreman Bot almost 10 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman_discovery/pull/162 added
  • Pull request deleted ()
Actions #3

Updated by Lukas Zapletal almost 10 years ago

  • Target version set to Discovery Plugin 2.0.1
Actions #4

Updated by Ori Rabin almost 10 years ago

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

Also available in: Atom PDF