Bug #34101
closedCV publish fails with: No route matches {:action=>"show", :controller=>"foreman_tasks/tasks", :id=>nil}, missing required keys: [:id] (ActionController::UrlGenerationError)
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/content-view-publish-no-route-matches-error/24650
Updated by The Foreman Bot over 3 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman_maintain/pull/569 added
Updated by Adam Ruzicka over 3 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman_maintain|2711d13046d6d3d3a41877d731fca5684699e18f.
Updated by The Foreman Bot about 3 years ago
- Pull request https://github.com/theforeman/foreman_maintain/pull/592 added