OSDN Git Service
(root)
/
redminele
/
redmine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22c9a43
)
Makes importer work with Trac 0.8.x (#1540).
author
Jean-Philippe Lang
<jp_lang@yahoo.fr>
Sun, 29 Jun 2008 09:03:03 +0000
(09:03 +0000)
committer
Jean-Philippe Lang
<jp_lang@yahoo.fr>
Sun, 29 Jun 2008 09:03:03 +0000
(09:03 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1597
e93f8b46
-1217-0410-a6f0-
8f06a7374b81
lib/tasks/migrate_from_trac.rake
patch
|
blob
|
history
diff --git
a/lib/tasks/migrate_from_trac.rake
b/lib/tasks/migrate_from_trac.rake
index
4226d79
..
5004863
100644
(file)
--- a/
lib/tasks/migrate_from_trac.rake
+++ b/
lib/tasks/migrate_from_trac.rake
@@
-98,6
+98,11
@@
namespace :redmine do
nil
end
end
+
+ def description
+ # Attribute is named descr in Trac v0.8.x
+ has_attribute?(:descr) ? read_attribute(:descr) : read_attribute(:description)
+ end
end
class TracTicketCustom < ActiveRecord::Base