Actions
Bug #23008
closedrss notifications: no implicit conversion of Time into String
Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Notifications
Target version:
-
Description
2018-03-25T07:39:44 [W|dyn|] Error on on_execution_plan_save event | TypeError: no implicit conversion of Time into String | /home/foreman/gems/gems/activesupport-5.1.4/lib/active_support/values/time_zone.rb:401:in `_parse' | /home/foreman/gems/gems/activesupport-5.1.4/lib/active_support/values/time_zone.rb:401:in `parse' | /home/foreman/gems/bundler/gems/foreman-tasks-a219562d0b75/app/models/foreman_tasks/task/dynflow_task.rb:15:in `update_from_dynflow' | /home/foreman/gems/bundler/gems/foreman-tasks-a219562d0b75/lib/foreman_tasks/dynflow/persistence.rb:34:in `on_execution_plan_save' | /home/foreman/gems/bundler/gems/foreman-tasks-a219562d0b75/lib/foreman_tasks/dynflow/persistence.rb:12:in `block in save_execution_plan' | /home/foreman/gems/bundler/gems/foreman-tasks-a219562d0b75/lib/foreman_tasks/dynflow/persistence.rb:10:in `tap' | /home/foreman/gems/bundler/gems/foreman-tasks-a219562d0b75/lib/foreman_tasks/dynflow/persistence.rb:10:in `save_execution_plan' | /home/foreman/gems/gems/dynflow-0.8.37/lib/dynflow/persistence.rb:73:in `save_execution_plan' | /home/foreman/gems/gems/dynflow-0.8.37/lib/dynflow/execution_plan.rb:423:in `save' | /home/foreman/gems/gems/dynflow-0.8.37/lib/dynflow/execution_plan.rb:132:in `update_state' | /home/foreman/gems/gems/dynflow-0.8.37/lib/dynflow/execution_plan.rb:250:in `delay' | /home/foreman/gems/gems/dynflow-0.8.37/lib/dynflow/world.rb:167:in `delay_with_caller' | /home/foreman/gems/gems/dynflow-0.8.37/lib/dynflow/world.rb:161:in `delay' | /home/foreman/gems/gems/dynflow-0.8.37/lib/dynflow/active_job/queue_adapter.rb:10:in `enqueue_at' | /home/foreman/gems/gems/activejob-5.1.4/lib/active_job/enqueuing.rb:49:in `block in enqueue' | /home/foreman/gems/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:108:in `block in run_callbacks' | /home/foreman/gems/gems/activejob-5.1.4/lib/active_job/logging.rb:15:in `block (3 levels) in <module:Logging>' | /home/foreman/gems/gems/activejob-5.1.4/lib/active_job/logging.rb:46:in `tag_logger' | /home/foreman/gems/gems/activejob-5.1.4/lib/active_job/logging.rb:14:in `block (2 levels) in <module:Logging>' | /home/foreman/gems/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:117:in `instance_exec' | /home/foreman/gems/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:117:in `block in run_callbacks' | /home/foreman/gems/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:135:in `run_callbacks' | /home/foreman/gems/gems/activejob-5.1.4/lib/active_job/enqueuing.rb:47:in `enqueue' | /home/foreman/gems/gems/activejob-5.1.4/lib/active_job/configured_job.rb:13:in `perform_later' | /home/foreman/git/foreman/app/jobs/create_rss_notifications.rb:3:in `block in <class:CreateRssNotifications>' | /home/foreman/gems/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:413:in `instance_exec' | /home/foreman/gems/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:413:in `block in make_lambda' | /home/foreman/gems/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:270:in `block in simple' | /home/foreman/gems/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:511:in `block in invoke_after' | /home/foreman/gems/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:511:in `each' | /home/foreman/gems/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:511:in `invoke_after' | /home/foreman/gems/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:122:in `block in run_callbacks' | /home/foreman/gems/gems/i18n-0.9.5/lib/i18n.rb:268:in `with_locale' | /home/foreman/gems/gems/activejob-5.1.4/lib/active_job/translation.rb:7:in `block (2 levels) in <module:Translation>' | /home/foreman/gems/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:117:in `instance_exec' | /home/foreman/gems/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:117:in `block in run_callbacks' | /home/foreman/gems/gems/activejob-5.1.4/lib/active_job/logging.rb:24:in `block (4 levels) in <module:Logging>' | /home/foreman/gems/gems/activesupport-5.1.4/lib/active_support/notifications.rb:166:in `block in instrument' | /home/foreman/gems/gems/activesupport-5.1.4/lib/active_support/notifications/instrumenter.rb:21:in `instrument' | /home/foreman/gems/gems/activesupport-5.1.4/lib/active_support/notifications.rb:166:in `instrument' | /home/foreman/gems/gems/activejob-5.1.4/lib/active_job/logging.rb:23:in `block (3 levels) in <module:Logging>' | /home/foreman/gems/gems/activejob-5.1.4/lib/active_job/logging.rb:46:in `tag_logger' | /home/foreman/gems/gems/activejob-5.1.4/lib/active_job/logging.rb:20:in `block (2 levels) in <module:Logging>' | /home/foreman/gems/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:117:in `instance_exec' | /home/foreman/gems/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:117:in `block in run_callbacks' | /home/foreman/gems/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:135:in `run_callbacks' | /home/foreman/gems/gems/activejob-5.1.4/lib/active_job/execution.rb:33:in `perform_now' | /home/foreman/gems/gems/activejob-5.1.4/lib/active_job/execution.rb:16:in `perform_now' | /home/foreman/gems/gems/dynflow-0.8.37/lib/dynflow/active_job/queue_adapter.rb:33:in `run' | /home/foreman/gems/gems/dynflow-0.8.37/lib/dynflow/action.rb:531:in `block (3 levels) in execute_run' | /home/foreman/gems/gems/dynflow-0.8.37/lib/dynflow/middleware/stack.rb:26:in `pass' | /home/foreman/gems/gems/dynflow-0.8.37/lib/dynflow/middleware.rb:18:in `pass' | /home/foreman/gems/gems/dynflow-0.8.37/lib/dynflow/action/progress.rb:30:in `with_progress_calculation' | /home/foreman/gems/gems/dynflow-0.8.37/lib/dynflow/action/progress.rb:16:in `run' | /home/foreman/gems/gems/dynflow-0.8.37/lib/dynflow/middleware/stack.rb:22:in `call' | /home/foreman/gems/gems/dynflow-0.8.37/lib/dynflow/middleware/stack.rb:26:in `pass' | /home/foreman/gems/gems/dynflow-0.8.37/lib/dynflow/middleware.rb:18:in `pass' | /home/foreman/gems/bundler/gems/foreman-tasks-a219562d0b75/app/lib/actions/middleware/keep_current_user.rb:15:in `block in run' | /home/foreman/gems/bundler/gems/foreman-tasks-a219562d0b75/app/lib/actions/middleware/keep_current_user.rb:38:in `restore_curent_user' | /home/foreman/gems/bundler/gems/foreman-tasks-a219562d0b75/app/lib/actions/middleware/keep_current_user.rb:15:in `run' | /home/foreman/gems/gems/dynflow-0.8.37/lib/dynflow/middleware/stack.rb:22:in `call' | /home/foreman/gems/gems/dynflow-0.8.37/lib/dynflow/middleware/stack.rb:26:in `pass' | /home/foreman/gems/gems/dynflow-0.8.37/lib/dynflow/middleware.rb:18:in `pass' | /home/foreman/gems/gems/dynflow-0.8.37/lib/dynflow/middleware.rb:31:in `run' | /home/foreman/gems/gems/dynflow-0.8.37/lib/dynflow/middleware/stack.rb:22:in `call' | /home/foreman/gems/gems/dynflow-0.8.37/lib/dynflow/middleware/world.rb:30:in `execute' | /home/foreman/gems/gems/dynflow-0.8.37/lib/dynflow/action.rb:530:in `block (2 levels) in execute_run' | /home/foreman/gems/gems/dynflow-0.8.37/lib/dynflow/action.rb:529:in `catch' | /home/foreman/gems/gems/dynflow-0.8.37/lib/dynflow/action.rb:529:in `block in execute_run' | /home/foreman/gems/gems/dynflow-0.8.37/lib/dynflow/action.rb:444:in `block in with_error_handling' | /home/foreman/gems/gems/dynflow-0.8.37/lib/dynflow/action.rb:444:in `catch' | /home/foreman/gems/gems/dynflow-0.8.37/lib/dynflow/action.rb:444:in `with_error_handling' | /home/foreman/gems/gems/dynflow-0.8.37/lib/dynflow/action.rb:524:in `execute_run' | /home/foreman/gems/gems/dynflow-0.8.37/lib/dynflow/action.rb:277:in `execute' | /home/foreman/gems/gems/dynflow-0.8.37/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:9:in `block (2 levels) in execute' | /home/foreman/gems/gems/dynflow-0.8.37/lib/dynflow/execution_plan/steps/abstract.rb:155:in `with_meta_calculation' | /home/foreman/gems/gems/dynflow-0.8.37/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:8:in `block in execute' | /home/foreman/gems/gems/dynflow-0.8.37/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:22:in `open_action' | /home/foreman/gems/gems/dynflow-0.8.37/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:7:in `execute' | /home/foreman/gems/gems/dynflow-0.8.37/lib/dynflow/director.rb:42:in `execute' | /home/foreman/gems/gems/dynflow-0.8.37/lib/dynflow/executors/parallel/worker.rb:12:in `block in on_message' | /home/foreman/gems/gems/dynflow-0.8.37/lib/dynflow/executors.rb:11:in `run_user_code' | /home/foreman/gems/gems/dynflow-0.8.37/lib/dynflow/executors/parallel/worker.rb:11:in `on_message' | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.4/lib/concurrent/actor/context.rb:46:in `on_envelope' | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.4/lib/concurrent/actor/behaviour/executes_context.rb:7:in `on_envelope' | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.4/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass' | /home/foreman/gems/gems/dynflow-0.8.37/lib/dynflow/actor.rb:26:in `on_envelope' | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.4/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass' | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.4/lib/concurrent/actor/behaviour/awaits.rb:15:in `on_envelope' | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.4/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass' | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.4/lib/concurrent/actor/behaviour/sets_results.rb:14:in `on_envelope' | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.4/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass' | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.4/lib/concurrent/actor/behaviour/buffer.rb:38:in `process_envelope' | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.4/lib/concurrent/actor/behaviour/buffer.rb:31:in `process_envelopes?' | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.4/lib/concurrent/actor/behaviour/buffer.rb:20:in `on_envelope' | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.4/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass' | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.4/lib/concurrent/actor/behaviour/termination.rb:55:in `on_envelope' | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.4/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass' | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.4/lib/concurrent/actor/behaviour/removes_child.rb:10:in `on_envelope' | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.4/lib/concurrent/actor/behaviour/abstract.rb:25:in `pass' | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.4/lib/concurrent/actor/behaviour/sets_results.rb:14:in `on_envelope' | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.4/lib/concurrent/actor/core.rb:161:in `process_envelope' | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.4/lib/concurrent/actor/core.rb:95:in `block in on_envelope' | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.4/lib/concurrent/actor/core.rb:118:in `block (2 levels) in schedule_execution' | /home/foreman/gems/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/mri_lockable_object.rb:38:in `block in synchronize' | /home/foreman/gems/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/mri_lockable_object.rb:38:in `synchronize' | /home/foreman/gems/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/mri_lockable_object.rb:38:in `synchronize' | /home/foreman/gems/gems/concurrent-ruby-edge-0.2.4/lib/concurrent/actor/core.rb:115:in `block in schedule_execution' | /home/foreman/gems/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/serialized_execution.rb:18:in `call' | /home/foreman/gems/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/serialized_execution.rb:96:in `work' | /home/foreman/gems/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/serialized_execution.rb:77:in `block in call_job' | /home/foreman/gems/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:348:in `run_task' | /home/foreman/gems/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:337:in `block (3 levels) in create_worker' | /home/foreman/gems/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:320:in `loop' | /home/foreman/gems/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:320:in `block (2 levels) in create_worker' | /home/foreman/gems/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:319:in `catch' | /home/foreman/gems/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:319:in `block in create_worker' | /home/foreman/gems/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
Updated by Marek Hulán over 6 years ago
- Related to Feature #18292: Add notifications for an RSS feed added
Updated by Marek Hulán over 6 years ago
- Status changed from New to Duplicate
Should be resolved by #21802, please reopen if you see that with foreman-tasks >= 0.13.0
Updated by Marek Hulán over 6 years ago
- Related to Bug #21802: Recurring tasks need to be more resilient added
Actions