I seem to have the same error. I am also trying to install this on Redmine v 1.1.2
Rendering template within layouts/base
Rendering issues/index.rhtml
ActionView::TemplateError (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.sort) on line #75 of app/views/queries/_filters.rhtml:
72:
73:
74:
75: <% query.available_filters.sort{|a,b| a[1][:order]<=>b[1][:order]}.each do |filter| %>
76: <% field = filter[0]
77: options = filter[1] %>
78: <tr <%= 'style="display:none;"' unless query.hasfilter?(field) %> id="tr<%= field %>" class="filter">
I have just tried installing this plugin again on a fresh version of Redmine 1.1.2 and get the following error when clicking on the 'issues' tab for a specific project. Any ideas?
Redmine version 1.1.2 Apache 2.2.3 and passenger with a sub-url , like this : http://192.168.28.218/redmine/projects/bbs/issues?set_filter=1&tracker_id=1
ruby 1.8.7 When I click issus button(I use Chinese translation zh.yml)
the redmine log presents:
Processing IssuesController#index (for 192.168.133.240 at 2011-04-11 14:40:38) [GET] Parameters: {"project_id"=>"bbs", "set_filter"=>"1", "action"=>"index", "tracker_id"=>"1", "controller"=>"issues"} Rendering template within layouts/base Rendering issues/index.rhtml
ActionView::TemplateError (undefined method `sort' for nil:NilClass) on line #75 of app/views/queries/_filters.rhtml: 72:
Rendering /home/redmine/public/500.html (500 Internal Server Error)
I seem to have the same error. I am also trying to install this on Redmine v 1.1.2
Rendering template within layouts/base Rendering issues/index.rhtml
ActionView::TemplateError (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.sort) on line #75 of app/views/queries/_filters.rhtml: 72:
I have just tried installing this plugin again on a fresh version of Redmine 1.1.2 and get the following error when clicking on the 'issues' tab for a specific project. Any ideas?
Rendering template within layouts/base Rendering activities/index Completed in 152ms (View: 87, DB: 11) | 200 OK [http://localhost/projects/bart-lighthouse/activity]
Processing IssuesController#index (for 127.0.0.1 at 2011-04-18 09:43:06) [GET] Parameters: {"project_id"=>"bart-lighthouse", "action"=>"index", "controller"=>"issues"} Rendering template within layouts/base Rendering issues/index.rhtml
ActionView::TemplateError (undefined method `[]' for :date:Symbol) on line #75 of app/views/queries/_filters.rhtml: 72:
Can the author respond on this outstanding issue please. I would love to get this plugin working, but I am at a loss how to resolve this problem.
I think you can mark this issue as closed now. I'm happy to confirm that it installed and works fine on Redmine v1.1.3.
Thanks!