操作
Question #1366
完了Redmine 3.0.0 に対応する予定はありますか?
開始日:
2015/02/21
期日:
進捗率:
100%
予定工数:
説明
いつも便利に使わしてもらっています。
Redmine 3.0.0 にアップデートしようとしたのですが、以下の箇所でエラーとなってしまいました。
Started GET "/projects/example/settings" for 192.168.1.1 at 2015-02-21 11:48:00 +0000 Processing by ProjectsController#settings as HTML Parameters: {"id"=>"example"} Current user: hironemu (id=5) Rendered projects/_form.html.erb (51.0ms) Rendered projects/_edit.html.erb (54.0ms) Rendered projects/settings/_modules.html.erb (10.5ms) Rendered projects/settings/_members.html.erb (113.9ms) Rendered projects/settings/_versions.html.erb (234.4ms) Rendered projects/settings/_issue_categories.html.erb (10.6ms) Rendered projects/settings/_wiki.html.erb (2.8ms) Rendered projects/settings/_repositories.html.erb (8.4ms) Rendered projects/settings/_activities.html.erb (79.1ms) Rendered plugins/redmine_issue_templates/app/views/issue_templates_settings/_show.html.erb (6.0ms) Rendered common/_tabs.html.erb (538.1ms) Rendered projects/settings.html.erb within layouts/base (540.7ms) Completed 500 Internal Server Error in 564ms ActiveRecord::RecordNotFound (Couldn't find all IssueTemplateSettings with 'id': (first, {:conditions=>["project_id = ?", 40]}) (found 0 results, but was looking for 2)): app/views/common/_tabs.html.erb:22:in `block in _app_views_common__tabs_html_erb___2062237874749932496_48254340' app/views/common/_tabs.html.erb:21:in `each' app/views/common/_tabs.html.erb:21:in `_app_views_common__tabs_html_erb___2062237874749932496_48254340' app/helpers/application_helper.rb:321:in `render_tabs' app/views/projects/settings.html.erb:3:in `_app_views_projects_settings_html_erb__578864565324400536_48324000'
このエラーが出る前に、bundle update
しようとして、ルーティングの辺りでエラーとなったので、routes.rb に via: :options
を追加しました(以下を参考に)
http://itexp.hateblo.jp/entry/2014/09/09/170412
ただ、これだけではまだ上記のエラーがでて動きませんでしたので、Redmine 3.0.0 (Rails 4.x ?) に対応の予定があれば嬉しいです。
操作