Project

General

Profile

Feature #15439

Improve invalid medium error

Added by Lukas Zapletal about 4 years ago. Updated about 2 years ago.

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

Description

When Katello plugin is installed, it sets media flag according to Content Views and sometimes it can be nil. Then ugly error message NoMethodError: undefined method `path' for nil:NilClass is shown. This improves the error message.


Related issues

Related to Foreman - Bug #7722: Provisioning TFTP menu fails when OS not assigned to org/locResolved2014-09-29
Related to Katello - Bug #16014: Improve error message when media is not set properlyNew2016-08-09

Associated revisions

Revision a81a259c (diff)
Added by Lukas Zapletal about 4 years ago

Fixes #15439 - improved error reporting for media

History

#1 Updated by The Foreman Bot about 4 years ago

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

#2 Updated by Dominic Cleal about 4 years ago

  • Related to Bug #7722: Provisioning TFTP menu fails when OS not assigned to org/loc added

#3 Updated by Marek Hulán about 4 years ago

  • Category set to Templates

#4 Updated by Lukas Zapletal about 4 years ago

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

#5 Updated by Dominic Cleal about 4 years ago

  • Legacy Backlogs Release (now unused) set to 160

#6 Updated by Dominic Cleal about 4 years ago

  • Related to Bug #16014: Improve error message when media is not set properly added

Also available in: Atom PDF