Project

General

Profile

Bug #31942

Applied Errata template - Host filter input throws error, if it's nil

Added by Ondřej Ezr 5 months ago. Updated 5 months ago.

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

Description

The input(...) can be blank and in such cases the template will throw errors.


Related issues

Related to Foreman - Feature #29969: Add host filter to the applied errata reportClosed
Related to Katello - Bug #31748: 'Applied Errata' report fails with error 'no implicit conversion of nil into Array'Closed

Associated revisions

Revision 55a4cbc8 (diff)
Added by Ondřej Ezr 5 months ago

Fixes #31942 - Host filter error on nil

We can't use `empty?` on input as it might be nil.

History

#1 Updated by The Foreman Bot 5 months ago

  • Assignee set to Ondřej Ezr
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/8350 added

#2 Updated by Ondřej Ezr 5 months ago

  • Related to Feature #29969: Add host filter to the applied errata report added

#3 Updated by The Foreman Bot 5 months ago

  • Fixed in Releases 2.5.0 added

#4 Updated by Ondřej Ezr 5 months ago

  • Fixed in Releases 2.4.0 added
  • Fixed in Releases deleted (2.5.0)

#5 Updated by Ondřej Ezr 5 months ago

  • Status changed from Ready For Testing to Closed

#6 Updated by Ondřej Ezr 5 months ago

  • Related to Bug #31748: 'Applied Errata' report fails with error 'no implicit conversion of nil into Array' added

Also available in: Atom PDF