Defect #14844

migrate_from_trac is not run in database transaction

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

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

0%

Category:Importers
Target version:-
Resolution: Affected version:

Description

If there is an error in the migrate_from_trac script, changes to the database are not rolled back. This could leave the project in a state where you can encounter a lot of 500 Internal errors.

E.g. after #14843 there are no users in the database yet, but there are already links to users. Clicking on a user link fails with Internal error.


Related issues

Related to Redmine - Defect #14843: Error in migrate_from_trac Closed
Related to Redmine - Patch #14567: migrate_from_trac.rake does not convert timestamps in Tra... New

History

#1 Updated by Toshi MARUYAMA about 4 years ago

#2 Updated by Toshi MARUYAMA about 4 years ago

  • Category set to Importers

#3 Updated by Toshi MARUYAMA about 4 years ago

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

Also available in: Atom PDF