Project

General

Profile

Actions

Bug #34101

closed

CV publish fails with: No route matches {:action=>"show", :controller=>"foreman_tasks/tasks", :id=>nil}, missing required keys: [:id] (ActionController::UrlGenerationError)

Added by Adam Ruzicka over 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=2024986

Description of problem:

Content View publish task fails with the following error:
~~
No route matches {:action=>"show", :controller=>"foreman_tasks/tasks", :id=>nil}, missing required keys: [:id] (ActionController::UrlGenerationError)
/opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/routing/route_set.rb:248:in `raise_generation_error'
/opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/routing/route_set.rb:218:in `block in optimized_helper'
/opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/routing/route_set.rb:233:in `block in parameterize_args'
/opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/routing/route_set.rb:230:in `times'
/opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/routing/route_set.rb:230:in `parameterize_args'
/opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/routing/route_set.rb:217:in `optimized_helper'
/opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/routing/route_set.rb:198:in `call'
/usr/share/foreman/config/initializers/routing_hash_for.rb:11:in `block (2 levels) in define_url_helper'
...
...
~~

Version-Release number of selected component (if applicable):
Satellite 6.10.1
pulp3

How reproducible:
N/A

Additional info:

The traceback seems identical to:

https://community.theforeman.org/t/trying-to-synchronize-one-of-my-repos-results-in-the-error-actioncontroller-no-route-matches-action-show-controller-foreman-tasks-tasks-id-nil-missing-required-keys-id/24655

https://community.theforeman.org/t/content-view-publish-no-route-matches-error/24650

https://community.theforeman.org/t/no-route-matches-action-show-controller-foreman-tasks-tasks-id-nil-missing-required-keys-id/23905

Actions #1

Updated by The Foreman Bot over 2 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman_maintain/pull/569 added
Actions #2

Updated by Adam Ruzicka over 2 years ago

  • Status changed from Ready For Testing to Closed
Actions #3

Updated by The Foreman Bot about 2 years ago

  • Pull request https://github.com/theforeman/foreman_maintain/pull/592 added
Actions

Also available in: Atom PDF