Error 500 after installing "Milestones" plugin.

Added by Steve F. over 10 years ago

When I am trying to see Calendar or Gantt (for all issues) or All issues, I am getting 500 error.

Some info from log file:

Parameters: {"controller"=>"gantts", "action"=>"show"}

NoMethodError (undefined method milestones' for nil:NilClass):
app/helpers/queries_helper.rb:124:inbuild_query_from_params'
app/helpers/queries_helper.rb:92:in retrieve_query'
config/initializers/mongrel_cluster_with_rails_211_fix.rb:62:indispatch_cgi'

Parameters: {"controller"=>"issues", "action"=>"index", "set_filter"=>"1"}

NoMethodError (undefined method milestones' for nil:NilClass):
app/helpers/queries_helper.rb:124:inbuild_query_from_params'
app/helpers/queries_helper.rb:92:in retrieve_query'
app/controllers/issues_controller.rb:57:inindex'
config/initializers/mongrel_cluster_with_rails_211_fix.rb:62:in `dispatch_cgi'

Replies (1)

RE: Error 500 after installing "Milestones" plugin. - Added by Konstantin Palkin over 10 years ago

Same thing.
Link 'View All issues' at My Page is 500 error. And this is only place there I found that problem. Overall Plugin looks workable. Redmine v. 1.4.x

  Parameters: {"set_filter"=>"1", "action"=>"index", "assigned_to_id"=>"me", "controller"=>"issues", "sort"=>"priority:desc,updated_on:desc"}

NoMethodError (undefined method `milestones' for nil:NilClass):
  app/helpers/queries_helper.rb:124:in `build_query_from_params'
  app/helpers/queries_helper.rb:92:in `retrieve_query'
  app/controllers/issues_controller.rb:57:in `index'

Thanks.

(1-1/1)