Project

General

Profile

Defect #1048

When no time is allocated page throws a 500 error

Added by Jim McAleer about 7 years ago. Updated over 6 years ago.

Status:
却下(Invalid)
Priority:
通常(Normal)
Assignee:
-
Target version:
Start date:
06/09/2012
Due date:
% Done:

0%

Estimated time:

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. :)

History

#1

Updated by su vene over 6 years ago

これって今再現しますかね。

古いVer.の Journals には、journalized_type がなかったのかな?(ソース追ってませんが)

#2

Updated by su vene over 6 years ago

  • Target version set to x.x.x.undecided
#3

Updated by Tomohisa Kusukawa over 6 years ago

  • Status changed from 新規(New) to 却下(Invalid)

これ、chiliproject っていう、似非Redmineの問題なのでは?と思うのですが、よくわかりません。

#4

Updated by su vene over 6 years ago

  • Target version changed from x.x.x.undecided to 0.2.9
#5

Updated by Tomohisa Kusukawa over 6 years ago

  • Target version changed from 0.2.9 to 0.0.0.misc

Also available in: Atom PDF