Actions
Defect #3347
closedInternal error occurs when doing bulk edit
Status:
Closed
Priority:
High
Assignee:
-
Category:
Issues
Target version:
-
Start date:
2009-05-13
Due date:
% Done:
100%
Estimated time:
Resolution:
Fixed
Affected version:
Description
Confirmed with r2737
- In Issues page, select some issues and do the right-click to show the context-menu.
- Click the Edit in the context-menu.
Then Internal Error occured.
The log said
NameError (undefined local variable or method `current_role' for #<IssuesController:0xb6653b6c>): /app/controllers/issues_controller.rb:276:in `bulk_edit' /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/base.rb:1253:in `send' /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/base.rb:1253:in `perform_action_without_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/filters.rb:617:in `call_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' ...
Regards.
Updated by Jean-Philippe Lang over 15 years ago
- Status changed from New to Closed
- Resolution set to Fixed
Updated by Minjie Zhu over 15 years ago
- % Done changed from 0 to 100
I confirmed the fix and it works well. Thanks :)
Updated by Nanda P over 15 years ago
- Status changed from Closed to Reopened
I am still getting the following error when I tried to close 4 tasks at a time (bulk edit)
Version: Redmine 0.8.0.devel.2743 (MySQL)
issues#bulk_edit (NameError) "undefined local variable or method `current_role' for #<IssuesController:0xa1334f4>" A NameError occurred in issues#bulk_edit: undefined local variable or method `current_role' for #<IssuesController:0xa1334f4> [RAILS_ROOT]/app/controllers/issues_controller.rb
Updated by Jean-Philippe Lang over 15 years ago
- Status changed from Reopened to Closed
Fixed in r2744.
Actions