操作
Defect #1279
完了Undefined method `add_available_filter' error with Redmine 2.2.1
開始日:
2013/08/30
期日:
進捗率:
100%
予定工数:
説明
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:
Yukinari Toyota さんがほぼ11年前に更新
Sorry, I've created the issue with wrong project.
This is a report for redmine_hudson plugin.
Toshiyuki Ando さんがほぼ11年前に更新
- ステータス を 新規(New) から 解決(Resolved) に変更
- 進捗率 を 0 から 100 に変更
更新履歴 commit:88046e14e740 で適用されました。
操作