Mantis importer: issue categories truncated to 30 chars.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@659 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
72714d86f6
commit
4dad4fab50
|
@ -288,7 +288,7 @@ task :migrate_from_mantis => :environment do
|
||||||
|
|
||||||
# Project categories
|
# Project categories
|
||||||
project.categories.each do |category|
|
project.categories.each do |category|
|
||||||
g = IssueCategory.new :name => category.category
|
g = IssueCategory.new :name => category.category[0,30]
|
||||||
g.project = p
|
g.project = p
|
||||||
g.save
|
g.save
|
||||||
categories_map[category.category] = g.id
|
categories_map[category.category] = g.id
|
||||||
|
|
Loading…
Reference in New Issue