Actions
Defect #1279
closedUndefined method `add_available_filter' error with Redmine 2.2.1
Start date:
08/30/2013
Due date:
% Done:
100%
Estimated time:
Description
After upgrading the plugin to commit:3b95ea0 , redmine 2.2.2 reports 500 Internal Server Error on issues page.
Here is log:
Started GET "/redmine/projects/xxx/issues" for x.x.x.x at 2013-08-30 18:29:38 +0900 Processing by IssuesController#index as HTML Parameters: {"project_id"=>"xxx"} Current user: t-yuki (id=x) Completed 500 Internal Server Error in 258ms NoMethodError (undefined method `add_available_filter' for #<Query:0x00000007445a28>): app/helpers/queries_helper.rb:166:in `build_query_from_params' app/helpers/queries_helper.rb:134:in `retrieve_query' app/controllers/issues_controller.rb:56:in `index'
commit:67325dc injected this problem.
This commit uses add_available_filter
method instead of direct access to @available_filers
but it is only available on redmine 2.3.
Thus, direct access to @available_filters
member is required to support redmine.2.2 or earlier.
Refs:
Updated by Yukinari Toyota over 9 years ago
Sorry, I've created the issue with wrong project.
This is a report for redmine_hudson plugin.
Updated by Toshiyuki Ando over 9 years ago
- Status changed from 新規(New) to 解決(Resolved)
- % Done changed from 0 to 100
更新履歴 commit:88046e14e740 で適用されました。
Updated by Toshiyuki Ando over 9 years ago
- Status changed from 解決(Resolved) to 終了(Closed)
Actions