Defect #14845

Error in user controller

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

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Resolution:Duplicate Affected version:2.2.3

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

Duplicates Redmine - Patch #14567: migrate_from_trac.rake does not convert timestamps in Tra... New

History

#1 Updated by Marc Schlaich about 4 years ago

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

#2 Updated by Marc Schlaich about 4 years ago

Should be fixed with #14567

#3 Updated by Etienne Massip about 4 years ago

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

#4 Updated by Etienne Massip about 4 years ago

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

#5 Updated by Etienne Massip about 4 years ago

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

#6 Updated by Etienne Massip about 4 years ago

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

#7 Updated by Craig Rodrigues about 4 years ago

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.

Also available in: Atom PDF