##// END OF EJS Templates
Mantis importer: issue categories truncated to 30 chars....
Jean-Philippe Lang -
r653:4dad4fab5097
parent child
Show More
@@ -288,7 +288,7 task :migrate_from_mantis => :environment do
288
288
289 # Project categories
289 # Project categories
290 project.categories.each do |category|
290 project.categories.each do |category|
291 g = IssueCategory.new :name => category.category
291 g = IssueCategory.new :name => category.category[0,30]
292 g.project = p
292 g.project = p
293 g.save
293 g.save
294 categories_map[category.category] = g.id
294 categories_map[category.category] = g.id
General Comments 0
You need to be logged in to leave comments. Login now