Project

General

Profile

Actions

Defect #14845

closed

Error in user controller

Defect #14845: Error in user controller

Added by Marc Schlaich about 13 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Resolution:
Duplicate
Affected version:

Description

Started GET "/users/1" for 10.10.50.70 at Wed Sep 04 10:38:49 +0000 2013
Processing by UsersController#show as HTML
  Parameters: {"id"=>"1"}
  Current user: admin (id=1)
Completed 500 Internal Server Error in 49ms

NoMethodError (undefined method `<=>' for nil:NilClass):
  lib/redmine/activity/fetcher.rb:80:in `events'
  lib/redmine/activity/fetcher.rb:80:in `sort!'
  lib/redmine/activity/fetcher.rb:80:in `events'
  app/controllers/users_controller.rb:68:in `show'

This could be a regression from running migrate_from_trac.


Related issues 1 (1 open — 0 closed)

Is duplicate of Redmine - Patch #14567: migrate_from_trac.rake does not convert timestamps in Trac database version 23NewActions

Updated by Marc Schlaich about 13 years ago Actions #1

This is definitely a regression from running migrate_from_trac. Just confirmed with a clean environment.

Updated by Marc Schlaich about 13 years ago Actions #2

Should be fixed with #14567

Updated by Etienne Massip about 13 years ago Actions #3

  • Status changed from New to Closed
  • Resolution set to Duplicate

Updated by Etienne Massip about 13 years ago Actions #4

  • Related to Patch #14567: migrate_from_trac.rake does not convert timestamps in Trac database version 23 added

Updated by Etienne Massip about 13 years ago Actions #5

  • Related to deleted (Patch #14567: migrate_from_trac.rake does not convert timestamps in Trac database version 23)

Updated by Etienne Massip about 13 years ago Actions #6

  • Is duplicate of Patch #14567: migrate_from_trac.rake does not convert timestamps in Trac database version 23 added

Updated by Craig Rodrigues about 13 years ago Actions #7

Marc,

Can you replace your copy of migrate_from_trac.rake with this file:

https://raw.github.com/rodrigc/redmine/master/lib/tasks/migrate_from_trac.rake

and re-do your trac to redmine migration? I would like feedback.
This has fixes for #14567 and some other fixes
that I did.

Actions

Also available in: PDF Atom