diff --git a/app/controllers/application_controller/wait_for_task.rb b/app/controllers/application_controller/wait_for_task.rb index b682c6d84ed..9c87f7b6581 100644 --- a/app/controllers/application_controller/wait_for_task.rb +++ b/app/controllers/application_controller/wait_for_task.rb @@ -49,7 +49,7 @@ def initiate_wait_for_task(options = {}) session[:async][:params] ||= {} # save the incoming parms + extra_params - session[:async][:params] = params.deep_dup.merge(options[:extra_params] || {}) + session[:async][:params] = params.to_unsafe_h.merge(options[:extra_params] || {}) session[:async][:params][:task_id] = task_id # override method to be called, when the task is done