mirror of
https://github.com/opf/openproject.git
synced 2026-06-14 03:30:14 +00:00
796e93739e
Without absolute paths, the routing definitions seem to implicitly scope within the current engine/namespace (not sure)
Causing an exception like so:
```ruby
# lib/redmine/menu_manager/menu_helper.rb:387 Redmine::MenuManager::MenuHelper#node_url:
[7] pry(#<#<Class:0x0000fffef642dd58>>)> e
=> #<ActionController::UrlGenerationError: No route matches {:action=>"index", :controller=>"storages/webhooks/outgoing/admin", :layout=>nil, :storage_id=>"20"}>
```
---
From [@Klaus's](https://matrix.to/#/!fyQrllnnogDxQuleQW:openproject.org/$nO-kY0NegsJ9E3w-P1Lx3YtgeQeutrQ_ohR0xpsljjg?via=openproject.org) impression it seems using `namespace:` routes is the root cause. But this is still an odd and difficult bug to solve so we should probably think around improving it.
Co-authored-by: Pavel Balashou <p.balashou@openproject.com>