Defect #10806

svn: 500 Internal Server Error on repository/statistics

Added by Stephane Malinet over 9 years ago. Updated over 9 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:-
Target version:-
Resolution:Fixed Affected version:

Description

Hi,

I have a partial 500 Internal Server Error in "/projects/puppet/repository/statistics" :

Started GET "/projects/puppet/repository/statistics" for unix: at Tue May 01 19:07:12 +0200 2012
Processing by RepositoriesController#stats as HTML
  Parameters: {"id"=>"puppet"}
  Rendered repositories/stats.html.erb within layouts/base (9.1ms)
Completed 200 OK in 449ms (Views: 126.4ms | ActiveRecord: 274.0ms)

Started GET "/projects/puppet/repository/graph?graph=commits_per_month" for unix: at Tue May 01 19:07:12 +0200 2012
Processing by RepositoriesController#graph as HTML
  Parameters: {"graph"=>"commits_per_month", "id"=>"puppet"}

Started GET "/projects/puppet/repository/graph?graph=commits_per_author" for unix:sitory at Tue May 01 19:07:12 +0200 2012
Completed 500 Internal Server Error in 132ms

ArgumentError (wrong number of arguments (0 for 1)):
  app/controllers/repositories_controller.rb:350:in `months_ago'
  app/controllers/repositories_controller.rb:350:in `graph_commits_per_month'
  app/controllers/repositories_controller.rb:350:in `graph_commits_per_month'
  app/controllers/repositories_controller.rb:280:in `graph'

More informations :

Environment:
  Redmine version                          2.0.0.devel.9608
  Ruby version                             1.8.7 (x86_64-linux)
  Rails version                            3.2.3
  Environment                              production
  Database adapter                         MySQL
Redmine plugins:
  no plugin installed

Associated revisions

Revision 9610
Added by Jean-Philippe Lang over 9 years ago

Fixed error on commits per month graph (#10806).

History

#1 Updated by Stephane Malinet over 9 years ago

My subjet is incorrect : my repository is git.

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

  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang
  • Resolution set to Fixed

Fixed in r9610, thanks for pointing this out.

#3 Updated by Stephane Malinet over 9 years ago

r9610 works perfect! thnank you!

Also available in: Atom PDF