Actions
Defect #16793
closedRedmine reports internal error after logging time when "Start Calendars On" display setting is set to "Based on user's language"
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Time tracking
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Invalid
Affected version:
Description
When attempting to log time against an issue, we were seeing Internal Server errors. The follow call stack appeared in the log:
NoMethodError (undefined method `l' for #<Object:0x6097d88>): lib/redmine/hook.rb:61:in `block (2 levels) in call_hook' lib/redmine/hook.rb:61:in `each' lib/redmine/hook.rb:61:in `block in call_hook' lib/redmine/hook.rb:58:in `tap' lib/redmine/hook.rb:58:in `call_hook' lib/redmine/hook.rb:153:in `call_hook' app/controllers/timelog_controller.rb:108:in `create'
Assuming that "l" was a localization function, we remembered that we had recently changed the "Start Calendars On" setting to be "Based on user's language". Changing this setting to "Sunday" fixed the issue, which implies that the "Based on user's language" setting is not working properly.
Environment:
Redmine version 2.5.0.stable Ruby version 1.9.3-p231 (2012-05-25) [i386-mingw32] Rails version 3.2.17 Environment production Database adapter Mysql2
Updated by Toshi MARUYAMA about 11 years ago
- Status changed from New to Closed
- Resolution set to Invalid
I cannot reproduce on clean Redmine 2.5 and it is obvious that is your plugin problem.
Actions