Bug #22252
closedundefined method `back_url' for #<ForemanTasks::TasksController:0x007f615c377598>
Description
To Reproduce:
1. In Foreman, click resume on a paused task in the Foreman tasks UI
Actual: undefined method
Expected: Resumes the task
Trace:
2018-01-11T15:44:27 da209630 [app] [F] NoMethodError (undefined method `back_url' for #<ForemanTasks::TasksController:0x007f615c377598>):
2018-01-11T15:44:27 da209630 [app] [F]
2018-01-11T15:44:27 da209630 [app] [F] foreman-tasks (0.11.0) app/controllers/foreman_tasks/tasks_controller.rb:66:in `resume'
| app/controllers/concerns/application_shared.rb:15:in `set_timezone'
| app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
| app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller'
| lib/middleware/catch_json_parse_errors.rb:8:in `call'
| lib/middleware/session_safe_logging.rb:17:in `call'
| lib/middleware/tagged_logging.rb:18:in `call'
| /home/vagrant/katello/lib/katello/prevent_json_parsing.rb:12:in `call'