Problem with bulk edit in a project with subprojects
Added by Dawid Biskupski 12 months ago
Hello.
I'm using the newest Redmine 5.1.0 and upon bulk editing tasks from a project (that HAS some subprojects) I get the following 500 error:
ActionView::Template::Error (undefined method `module_enabled?' for nil:NilClass):
redmine-74c777954b-z2zrw redmine 1: <% if @project.module_enabled?('agile') &&
redmine-74c777954b-z2zrw redmine 2: RedmineAgile.use_story_points? &&
redmine-74c777954b-z2zrw redmine 3: RedmineAgile.use_story_points_for?(@target_tracker) %>
redmine-74c777954b-z2zrw redmine 4: <p>
redmine-74c777954b-z2zrw redmine
redmine-74c777954b-z2zrw redmine plugins/redmine_agile/app/views/issues/_issues_story_points_bulk_edit.html.erb:1
redmine-74c777954b-z2zrw redmine plugins/redmine_agile/app/views/issues/_agile_data_fields_bulk_edit.html.erb:4
redmine-74c777954b-z2zrw redmine lib/redmine/hook/view_listener.rb:61:in `block (2 levels) in render_on'
redmine-74c777954b-z2zrw redmine lib/redmine/hook/view_listener.rb:59:in `map'
redmine-74c777954b-z2zrw redmine lib/redmine/hook/view_listener.rb:59:in `block in render_on'
redmine-74c777954b-z2zrw redmine lib/redmine/hook.rb:66:in `block (2 levels) in call_hook'
redmine-74c777954b-z2zrw redmine lib/redmine/hook.rb:66:in `each'
redmine-74c777954b-z2zrw redmine lib/redmine/hook.rb:66:in `block in call_hook'
redmine-74c777954b-z2zrw redmine lib/redmine/hook.rb:63:in `call_hook'
redmine-74c777954b-z2zrw redmine lib/redmine/hook.rb:101:in `call_hook'
redmine-74c777954b-z2zrw redmine app/views/issues/bulk_edit.html.erb:132
redmine-74c777954b-z2zrw redmine app/views/issues/bulk_edit.html.erb:25
redmine-74c777954b-z2zrw redmine lib/redmine/sudo_mode.rb:61:in `sudo_mode'
Is there anything I can do to fix the issue?
Replies (3)
RE: Problem with bulk edit in a project with subprojects - Added by Holger Just 12 months ago
This seems to be related to your Agile plugin. As such, it's probably a better idea to contact the authors of the plugin along with detailed reproduction steps so that they can find and solve the underlying issue.
RE: Problem with bulk edit in a project with subprojects - Added by AiYuHang (Redminecn) 12 months ago
Try updating the redmine_agile plugin to the latest version
RE: Problem with bulk edit in a project with subprojects - Added by AiYuHang (Redminecn) 12 months ago
Recently, the redmine_agile plug-in has released a new version, which includes compatibility with redmine 5.1.x. You can try it.