Vote #65906
未完了Fires a warning if required custom fields exist when migrating
0%
説明
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?
journals
> 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.
--------------------------------------------------------------------------------
I have migrated from Trac to my Redmine (PostgresQL RDBMS which was NOT fresh) and everything worked well, except issue #3910
regards
--------------------------------------------------------------------------------
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...
--------------------------------------------------------------------------------
Sorry, I can't provide such support here.
And I can't fix anything without a detailed bug report.
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------