Project

General

Profile

Actions

Defect #14969

open

ActiceSupport::TimeWithZone failed in migrate_from_mantis.rake

Added by Mac Chang over 10 years ago. Updated about 6 years ago.

Status:
New
Priority:
Urgent
Assignee:
-
Category:
Importers
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

The Redmine installation information as below:

@Information

Redmine 2.3.3.stable

Default administrator account changed True
Attachments directory writable True
Plugin assets directory writable True
RMagick available (optional) True

Environment:
Redmine version 2.3.3.stable
Ruby version 1.9.3-p231 (2012-05-25) [i386-mingw32]
Rails version 3.2.13
Environment production
Database adapter Mysql2
Redmine plugins:
no plugin installed

Mantis Bug Tracker version: 1.2.15
@

I referred from this page's SQL coding (http://www.webismymind.be/upload/documents/migrate_from_mantis_1_2.sql), altered and update my Mantis database time format.

Also, I edited the migrate_from_mantis.rake script, connection seems fine on a fresh installed Redmine until I encounter this error:

"*comparison of Fixnum with ActiveSupport::TimeWithZone failed*"

Please advice me what is the error and what I have to edit on my migrate_from_mantis.rake script. See attachment for more information. Thank you.


Files

error.jpg (106 KB) error.jpg Error screen shot Mac Chang, 2013-09-23 05:28
migrate_from_mantis.rake (19.6 KB) migrate_from_mantis.rake migrate_from_mantis.rake edited script Mac Chang, 2013-09-23 05:28

Related issues

Related to Redmine - Defect #15175: Migrate from Mantis 1.2.15 to Redmin 2.3.2New

Actions
Actions #1

Updated by Toshi MARUYAMA over 10 years ago

  • Related to Defect #15175: Migrate from Mantis 1.2.15 to Redmin 2.3.2 added
Actions #2

Updated by chaoping li over 6 years ago

  • File 无标题.png added
Actions #3

Updated by Marius BĂLTEANU over 6 years ago

  • File deleted (无标题.png)
Actions

Also available in: Atom PDF