Project

General

Profile

Bug #14227

Discovery mailer fails for hosts without model name

Added by Lukas Zapletal over 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Create a host without model_name, send report:

ActionView::Template::Error: undefined method `model_name'


Related issues

Related to Foreman - Refactor #13440: Replace Host::Base#model_name to prevent Rails 4.2 conflictClosed2016-01-28
Related to Discovery - Refactor #14236: Rename model_name to hardware_model_nameDuplicate2016-03-16

Associated revisions

Revision 790b2acb (diff)
Added by Lukas Zapletal about 3 years ago

Fixes #14227 - refactored model_name to hardware_model_name

This change is only compatible with 1.12+

History

#1 Updated by The Foreman Bot over 3 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Lukas Zapletal
  • Pull request https://github.com/theforeman/foreman_discovery/pull/261 added

#2 Updated by Dominic Cleal over 3 years ago

  • Related to Refactor #13440: Replace Host::Base#model_name to prevent Rails 4.2 conflict added

#3 Updated by Lukas Zapletal about 3 years ago

  • Related to Refactor #14236: Rename model_name to hardware_model_name added

#4 Updated by Anonymous about 3 years ago

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

Also available in: Atom PDF