Actions
Bug #23387
closedrake rss:create_notifications - no implicit conversion of String into Integer
Difficulty:
trivial
Triaged:
Pull request:
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