Defect #1048
closedWhen no time is allocated page throws a 500 error
0%
Description
Rendering error - 500 Internal Server Error
Error: Unknown column 'journals.journalized_type' in 'where clause': SELECT `issues`.* FROM `issues` INNER JOIN journals ON journals.journalized_id=issues.id WHERE (journals.journalized_type='Issue' and journals.user_id=1 and journals.created_on>='2012-06-09 00:00:00' and journals.created_on<'2012-06-10 00:00:00') ): vendor/plugins/redmine_work_time/app/controllers/work_time_controller.rb:996:in `make_pack'
I have forked the project becuase i originally thought the problem was related to chiliproject but was able to figure iout it's and unhandled nil recordset. Would love to contribute with my fix.
Updated by su vene over 9 years ago
これって今再現しますかね。
古いVer.の Journals には、journalized_type がなかったのかな?(ソース追ってませんが)
Updated by Tomohisa Kusukawa over 9 years ago
- Status changed from 新規(New) to 却下(Invalid)
これ、chiliproject っていう、似非Redmineの問題なのでは?と思うのですが、よくわかりません。
Updated by su vene over 9 years ago
- Target version changed from x.x.x.undecided to 0.2.9
Updated by Tomohisa Kusukawa over 9 years ago
- Target version changed from 0.2.9 to 0.0.0.misc