leovitch/redmine_importer — Issue #7: Around auto-adding fixed_versions, categories fails...
Author: mschibata
Created: 2011-10-31 05:44:10+00:00
State: open

Hello,

Categories and Fixed versions are defined for each projects.

Following changes may be necessary.

app\controllers\importer_controller.rb

174 - category = IssueCategory.find_by_name(category_name)
+ category = IssueCategory.find_by_project_id_and_name(project.id, category_name)

181 - fixed_version = Version.find_by_name(fixed_version_name)
+ fixed_version = Version.find_by_project_id_and_name(project.id, fixed_version_name)

Regards,