Bug #22252

undefined method `back_url' for #<ForemanTasks::TasksController:0x007f615c377598>

Added by Andrew Kofink 6 months ago. Updated 6 months ago.

Status:Duplicate
Priority:Normal
Assignee:-
Category:-
Target version:-
Difficulty: Team Backlog:
Triaged: Fixed in Releases:
Bugzilla link: Found in Releases:Foreman - Nightly
Pull request:

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'


Related issues

Duplicates foreman-tasks - Bug #22097: Adapt to Rails 5 redirect_back Closed 12/29/2017

History

#2 Updated by Ivan Necas 6 months ago

  • Status changed from New to Duplicate

#3 Updated by Ivan Necas 6 months ago

  • Duplicates Bug #22097: Adapt to Rails 5 redirect_back added

Also available in: Atom PDF