summaryrefslogtreecommitdiffstats
path: root/lib/tasks
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2010-02-28 16:51:36 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2010-02-28 16:51:36 +0000
commit8e57b1f6cdd76119227eecd69d4777b045ab5fd8 (patch)
tree597e86eb83a0e49591e746f8ec715a7c03293123 /lib/tasks
parentc9197769fb06332f4f878ce84b5c516c43c215e0 (diff)
downloadredmine-8e57b1f6cdd76119227eecd69d4777b045ab5fd8.tar.gz
redmine-8e57b1f6cdd76119227eecd69d4777b045ab5fd8.zip
Fixed: Trac importer creates duplicate wiki records (#4743).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3517 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/tasks')
-rw-r--r--lib/tasks/migrate_from_trac.rake1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/tasks/migrate_from_trac.rake b/lib/tasks/migrate_from_trac.rake
index f85718441..d99e4a32a 100644
--- a/lib/tasks/migrate_from_trac.rake
+++ b/lib/tasks/migrate_from_trac.rake
@@ -682,6 +682,7 @@ namespace :redmine do
project.trackers << TRACKER_BUG unless project.trackers.include?(TRACKER_BUG)
project.trackers << TRACKER_FEATURE unless project.trackers.include?(TRACKER_FEATURE)
@target_project = project.new_record? ? nil : project
+ @target_project.reload
end
def self.connection_params