You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"NoMethodError (undefined method `new_project_resource_item_path' for #<AssetResourceItemsController:" error when clicking "Create and add another" button from a project "Assets" or "People" tab new button #26
Problem
"undefined method `new_project_resource_item_path' error when clicking "Create and add another" button from a project "Assets" or "People" tab new button
To Reproduce
Go to a project's "Assets" tab
Click upper right "New Asset" button
Fill name and click "Create and add another" button
The following error occurs.
Started POST "/projects/ecookbook/asset_resource_items" for 127.0.0.1 at 2025-05-10 21:10:49 +0900
Processing by AssetResourceItemsController#create as HTML
:
↳ plugins/redmine_supply/lib/redmine_resource_manager/save_resource_item.rb:30:in `call'
Completed 500 Internal Server Error in 80ms (ActiveRecord: 34.0ms (9 queries, 0 cached) | GC: 12.3ms)
NoMethodError (undefined method `new_project_resource_item_path' for #<AssetResourceItemsController:0x0000000002c5d8>):
plugins/redmine_supply/app/controllers/resource_items_controller.rb:28:in `create'
lib/redmine/sudo_mode.rb:78:in `sudo_mode'
Expectation
The error should not be shown and new empty "Asset" or "People" form should be shown.