Skip to content
Snippets Groups Projects
Commit 4dad4fab authored by Jean-Philippe Lang's avatar Jean-Philippe Lang
Browse files

Mantis importer: issue categories truncated to 30 chars.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@659 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 72714d86
Branches
Tags
No related merge requests found
...@@ -288,7 +288,7 @@ task :migrate_from_mantis => :environment do ...@@ -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
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment