jijeshmohan/redmine_track_control — Issue #2: When I try to make a new role redmine fails
Author: LuisSerrano
Created: 2012-01-26 15:11:02+00:00
State: open

When I try to make I new role redmine fails with this error (if I disable role_patch.rb the creation of the new role works)

NoMethodError in RolesController#new

You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.map!
RAILS_ROOT: /opt/redmine

Application Trace | Framework Trace | Full Trace
/opt/redmine/vendor/plugins/redmine_track_control/lib/role_patch.rb:10:in `permissions'
/opt/redmine/app/controllers/roles_controller.rb:33:in `new'
Request

Parameters:

None
Show session dump

Response

Headers:

{"Content-Type"=>"",
"Cache-Control"=>"no-cache"