プロジェクト

全般

プロフィール

Defect #982

完了

when I click the issue_template on the sidebar ,displays error

Steven Wong さんが約12年前に追加. 約12年前に更新.

ステータス:
終了(Closed)
優先度:
通常(Normal)
担当者:
対象バージョン:
-
開始日:
2012/03/23
期日:
進捗率:

100%

予定工数:

説明

when I click the issue_template on the sidebar ,displays error

error info like this ,I picked it in production.log ===================

Processing IssuesController#new (for 192.168.3.58 at 2012-03-23 17:15:36) [GET]
Parameters: {"project_id"=>"upnf", "action"=>"new", "controller"=>"issues"}
Rendering template within layouts/base
Rendering issues/new

ActionView::TemplateError (Mysql::Error: Unknown column 'tracker_id' in 'where clause': SELECT * FROM `issue_templates` WHERE (tracker_id = 1 AND project_id = 32 AND enabled = 1) ) on line #11 of vendor/plugins/redmine_issue_templates/app/views/issue_templates/_issue_select_form.html.erb:
8: # default set templates of first tracker
9: tracker = @project.trackers0
10: group = []
11: tmpls = IssueTemplate.find(:all,
12: :conditions => ['tracker_id = ? AND project_id = ? AND enabled = ?',
13: tracker.id, @project.id, true])
14: if tmpls.size > 0

vendor/plugins/redmine_issue_templates/app/views/issue_templates/_issue_select_form.html.erb:11
lib/redmine/hook.rb:63:in `send'
lib/redmine/hook.rb:63:in `call_hook'
lib/redmine/hook.rb:63:in `each'
lib/redmine/hook.rb:63:in `call_hook'
lib/redmine/hook.rb:60:in `tap'
lib/redmine/hook.rb:60:in `call_hook'
lib/redmine/hook.rb:144:in `call_hook'
app/views/issues/_form.html.erb:1
app/views/issues/new.html.erb:7
app/helpers/application_helper.rb:880:in `labelled_tabular_form_for'
app/views/issues/new.html.erb:3
app/controllers/issues_controller.rb:138:in `new'
app/controllers/issues_controller.rb:137:in `new'

Rendering /usr/local/redmine-1.3/public/500.html (500 Internal Server Error)

=====================

他の形式にエクスポート: Atom PDF