clueware / redmine_my_roadmaps

Redmine plugin that expose global roadmaps for the user's projects.
39 stars 10 forks source link

/my_roadmaps -> Internal error #20

Closed tarlyun closed 11 years ago

tarlyun commented 11 years ago

When I try open "My roadmaps" link from top menu, I gain error:

Internal error

An error occurred on the page you were trying to access.
If you continue to experience problems please contact your Redmine administrator for assistance.

If you are the Redmine administrator, check your log files for details about the error.

log file:

Started GET "/my_roadmaps" for 46.39.1.20 at Fri Mar 29 11:47:28 +0400 2013
Processing by MyRoadmapsController#index as HTML
  Current user: admin (id=1)
Completed 500 Internal Server Error in 9ms

NameError (undefined local variable or method `available_filters' for #<Query:0xb528cbd8>):
  app/models/query.rb:314:in `type_for'
  app/models/query.rb:212:in `validate_query_filters'
  app/models/query.rb:210:in `each_key'
  app/models/query.rb:210:in `validate_query_filters'
Environment:
  Redmine version                          2.2.1.devel
  Ruby version                             1.8.7 (i386-linux)
  Rails version                            3.2.11
  Environment                              production
  Database adapter                         MySQL
Redmine plugins:
  redmine_my_roadmaps                      0.1.12_redmine2.1
clueware commented 11 years ago

Would you mind upgrade to Redmine 2.2.3 please, and tell me if it works this way?

Thanks.

tarlyun commented 11 years ago

Redmine 2.2.4.stable.11692 - works fine.

clueware commented 11 years ago

OK, so closing this one then. Thanks!