Project

General

Profile

Actions

Bug #23387

closed

rake rss:create_notifications - no implicit conversion of String into Integer

Added by Ohad Levy almost 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Notifications
Target version:
Difficulty:
trivial
Triaged:
Fixed in Releases:
Found in Releases:

Description

When using the rake task with the FOREMAN_RSS_LATEST_POSTS option, the following error is observed.

rake aborted!
TypeError: no implicit conversion of String into Integer
/home/ohad/git/foreman/app/services/ui_notifications/rss_notifications_checker.rb:44:in `[]'
/home/ohad/git/foreman/app/services/ui_notifications/rss_notifications_checker.rb:44:in `deliver!'
/home/ohad/git/foreman/lib/tasks/rss.rake:40:in `block (2 levels) in <top (required)>'
/home/ohad/.rvm/gems/ruby-2.4.2@foreman/gems/rake-12.3.1/exe/rake:27:in `<top (required)>'
/home/ohad/.rvm/gems/ruby-2.4.2@foreman/bin/ruby_executable_hooks:15:in `eval'
/home/ohad/.rvm/gems/ruby-2.4.2@foreman/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => rss:create_notifications
(See full trace by running task with --trace)

Actions #1

Updated by The Foreman Bot almost 6 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Ohad Levy
  • Pull request https://github.com/theforeman/foreman/pull/5510 added
Actions #2

Updated by Daniel Lobato Garcia almost 6 years ago

  • translation missing: en.field_release set to 330
Actions #3

Updated by Ohad Levy almost 6 years ago

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

Also available in: Atom PDF