Defect #2185

Timelog Details returns data, Timelog Report does not

Added by Peter Edstrom over 13 years ago. Updated over 3 years ago.

Status:ClosedStart date:2008-11-14
Priority:NormalDue date:
Assignee:-% Done:


Category:Time tracking
Target version:-
Resolution:Cant reproduce Affected version:


When I look at Timelog details, I see records and details, but clicking "report" and choosing any grouping returns no data and returns the line "Total: 0.00 hours". No errors in production.log

The site is if someone wants a login to see what it is doing.

Processing TimelogController#report (for at 2008-11-14 02:45:39) [POST]
Session ID: f8b5f9f122adb9658580660dfcdf8653
Parameters: {"columns"=>"week", "project_id"=>"rms", "period"=>"all", "criterias"=>["category"], "from"=>"2007-11-06", "action"=>"report", "to"=>"2008-11-13", "controller"=>"timelog", "period_type"=>"2"}
Rendering timelog/report
Completed in 0.06958 (14 reqs/sec) | Rendering: 0.01061 (15%) | DB: 0.00182 (2%) | 200 OK []

Ruby version 1.8.6 (i386-solaris2)
RubyGems version 1.1.1
Rails version 2.1.0
Active Record version 2.1.0
Action Pack version 2.1.0
Active Resource version 2.1.0
Action Mailer version 2.1.0
Active Support version 2.1.0
Application root /users/home/edstrom/domains/
Environment development
Database adapter mysql
Database schema version 0


#1 Updated by Peter Edstrom over 13 years ago

Just noticed that the report works if I log in as a non-administrator. Is there a specific permission I should disable for myself to make this report work?

#2 Updated by Jean-Philippe Lang over 13 years ago

I can not reproduce with current trunk and have no clue on this problem. Time report works fine when logged in as administrator.
Could you try with log level set to debug and attach the log please ?

To set log level to debug: un-comment this line in config/environment.rb and restart the app:

config.log_level = :debug

#3 Updated by Jean-Philippe Lang over 13 years ago

  • Status changed from New to Closed
  • Resolution set to Cant reproduce

Also available in: Atom PDF