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:
Jean-Philippe Lang 2007-08-25 14:55:07 +00:00
parent 72714d86f6
commit 4dad4fab50
1 changed files with 1 additions and 1 deletions

View File

@ -288,7 +288,7 @@ task :migrate_from_mantis => :environment do
# Project categories
project.categories.each do |category|
g = IssueCategory.new :name => category.category
g = IssueCategory.new :name => category.category[0,30]
g.project = p
g.save
categories_map[category.category] = g.id