Project

General

Profile

Actions

Defect #29230

closed

NoMethodError in fetch_changesets

Added by Eric Riese almost 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

Wish I knew what changed to cause this, but my installation has been running solidly for over 4 years and I almost never touch it and AFAIK nothing has changed about it recently, but all of the sudden I get this error.

NoMethodError (undefined method `sort' for "heads":String):
  app/models/repository/git.rb:142:in `fetch_changesets'
  app/controllers/sys_controller.rb:67:in `block (2 levels) in fetch_changesets'
  app/controllers/sys_controller.rb:66:in `block in fetch_changesets'
  app/controllers/sys_controller.rb:65:in `each'
  app/controllers/sys_controller.rb:65:in `fetch_changesets'

New changes fail to get processed. Manually doing a git fetch on the local mirror repo works fine.
Environment:
  Redmine version                          2.2.3.stable
  Ruby version                             1.9.3 (x86_64-linux)
  Rails version                            3.2.12
  Environment                              production
  Database adapter                         Mysql2
Redmine plugins:
  redmine_hudson                           2.1.2

Actions

Also available in: Atom PDF