Project

General

Profile

Actions

Feature #4089

open

Fires a warning if required custom fields exist when migrating

Added by Marcel Nadje over 14 years ago. Updated over 14 years ago.

Status:
Reopened
Priority:
Low
Assignee:
-
Category:
Importers
Target version:
-
Start date:
2009-10-22
Due date:
% Done:

0%

Estimated time:
Resolution:

Description

I'm running redmine since 2 month. My current version is 0.8.5.devel.2956.
I've migrated two trac projects some time ago with no issues. The migration of the 3rd project not working perfectly, because tickets, files and custom values are not migrated. Take a look:

Migrating components....
Migrating milestones........
Migrating custom fields....
Migrating tickets.........................
Migrating wiki...........

Components:      4/4
Milestones:      8/8
Tickets:         0/25
Ticket files:    0/7
Custom values:   0/100
Wiki edits:      11/11
Wiki files:      0/0

The wiki:RedmineMigrate says: Before starting, you need a fresh Redmine database, with default data loaded (required)
Is this my problem? My redmine database (sqlite3) is not fresh I think. What can i do?

Actions #1

Updated by Jean-Philippe Lang over 14 years ago

  • Status changed from New to Closed
  • Affected version (unused) deleted (devel)
  • Resolution set to Wont fix

Is this my problem? My redmine database (sqlite3) is not fresh I think.

Yes, it may be the problem.

What can i do?

Have a look at lib/tasks/migrate_from_trac.rake and adapt it to fit your needs.

Actions #2

Updated by Kamil . over 14 years ago

I have migrated from Trac to my Redmine (PostgresQL RDBMS which was NOT fresh) and everything worked well, except issue #3910

regards

Actions #3

Updated by Marcel Nadje over 14 years ago

  • Status changed from Closed to Reopened

If the database isn't fresh enough, why components and milestones were migrated?
On wich line I've to look redarding fresh database test? I cannot find the right one...

Actions #4

Updated by Jean-Philippe Lang over 14 years ago

  • Status changed from Reopened to Closed

Sorry, I can't provide such support here.
And I can't fix anything without a detailed bug report.

Actions #5

Updated by Marcel Nadje over 14 years ago

The problem are custom fields witch are Required For all projects. If you uncheck this setting, the migration of tickets succesfully done. I think it would be nice, the trac migration script fires a warning, if exist required custom fields for all projects.

Actions #6

Updated by Marcel Nadje over 14 years ago

  • Status changed from Closed to Reopened
Actions #7

Updated by Jean-Philippe Lang over 14 years ago

  • Subject changed from trac migrate: no migration of Tickets, Ticket files and Custom values to Fires a warning if required custom fields exist when migrating
Actions #8

Updated by Jean-Philippe Lang over 14 years ago

  • Priority changed from Normal to Low
  • Resolution deleted (Wont fix)
Actions #9

Updated by Jean-Philippe Lang over 14 years ago

  • Tracker changed from Defect to Feature
Actions

Also available in: Atom PDF