プロジェクト

全般

プロフィール

Defect #1426

open redmine_work_time occured 500 error

Steven Wong12ヶ月前に追加. 11ヶ月前に更新.

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

100%

予定工数:

説明

my environment

  Redmine version                3.3.0.stable.15736
  Ruby version                   2.2.4-p230 (2015-12-16) [x86_64-linux]
  Rails version                  4.2.7.1
  Environment                    production
  Database adapter               Mysql2

error log

Started GET "/work_time/show/demo" for 192.168.60.238 at 2016-08-15 19:36:07 +0800
Processing by WorkTimeController#show as HTML
  Parameters: {"id"=>"demo"}
  Current user: hui.wang (id=8)
Completed 500 Internal Server Error in 25ms (ActiveRecord: 8.4ms)
  Rendered /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/exception_notification-4.2.1/lib/exception_notifier/views/exception_notifier/_request.text.erb (0.3ms)
  Rendered /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/exception_notification-4.2.1/lib/exception_notifier/views/exception_notifier/_title.text.erb (0.2ms)
  Rendered /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/exception_notification-4.2.1/lib/exception_notifier/views/exception_notifier/_session.text.erb (1.3ms)
  Rendered /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/exception_notification-4.2.1/lib/exception_notifier/views/exception_notifier/_title.text.erb (0.1ms)
  Rendered /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/exception_notification-4.2.1/lib/exception_notifier/views/exception_notifier/_environment.text.erb (2.0ms)
  Rendered /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/exception_notification-4.2.1/lib/exception_notifier/views/exception_notifier/_title.text.erb (0.1ms)
  Rendered /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/exception_notification-4.2.1/lib/exception_notifier/views/exception_notifier/_backtrace.text.erb (0.1ms)
  Rendered /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/exception_notification-4.2.1/lib/exception_notifier/views/exception_notifier/_title.text.erb (0.1ms)
  Rendered /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/exception_notification-4.2.1/lib/exception_notifier/views/exception_notifier/exception_notification.text.erb (11.9ms)

ActiveRecord::StatementInvalid (Mysql2::Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':conditions=>["parent_id = 5486"]}) FROM `issues`' at line 1: SELECT COUNT({:conditions=>["parent_id = 5486"]}) FROM `issues`):
  plugins/redmine_work_time/app/controllers/work_time_controller.rb:1366:in `make_pack_issue'
  plugins/redmine_work_time/app/controllers/work_time_controller.rb:1215:in `block in make_pack'
  plugins/redmine_work_time/app/controllers/work_time_controller.rb:1207:in `make_pack'
  plugins/redmine_work_time/app/controllers/work_time_controller.rb:42:in `show'
  lib/redmine/sudo_mode.rb:63:in `sudo_mode'

関係しているリビジョン

リビジョン 425:6f860cdbeefe (差分)
Tomohisa Kusukawa11ヶ月前に追加

fixes #1426 open redmine_work_time occured 500 error

履歴

#1 Tomohisa Kusukawa12ヶ月前に更新

  • ステータス新規(New) から 担当(Assigned) に変更
  • 担当者Tomohisa Kusukawa にセット
  • 対象バージョン0.3.3 にセット

Thank you for your report.

#2 Steven Wong12ヶ月前に更新

please check Defect #1425, thanks

#3 匿名ユーザー が11ヶ月前に更新

  • ステータス担当(Assigned) から 解決(Resolved) に変更
  • 進捗率0 から 100 に変更

更新履歴 6f860cdbeefe で適用されました。

#4 Tomohisa Kusukawa11ヶ月前に更新

  • 担当者Tomohisa Kusukawa から Steven Wong に変更

I fixed this problem in 6f860cdbeefe .
Would you please check the defect fixes.

#5 Tomohisa Kusukawa11ヶ月前に更新

  • ステータス解決(Resolved) から 終了(Closed) に変更

I released WorkTime0.3.3 with this fixes.
Thank you.

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