Actions
Bug #2060
closedProjects based on project types having issues assigned to fixed versions won't get created accordingly
Start date:
Due date:
% Done:
100%
Estimated time:
Affected Version:
Compatible Redmine Version:
Pull Request Link:
Description
When creating a project which is based on a project type having issues assigned to fixed versions the issues and the versions will be created but issues won't be assigned to the fixed version.
Updated by liaham about 1 year ago
The method copy_issues(project)
expects a Project
and not a ProjectType
especially at this lines:
# Reassign fixed_versions by name, since names are unique per project
if issue.fixed_version && issue.fixed_version.project == project
new_issue.fixed_version = self.versions.detect {|v| v.name == issue.fixed_version.name}
end
Since project.is_a?(ProjectType) # -> true
the assignment of issues to the fixed_version won't be executed!
Updated by liaham about 1 year ago
This bug will probably also affect project import!
Updated by liaham about 1 year ago
Try to fix it at ProjectsControllerPatch#prepare_source_project
.
Updated by liaham about 1 year ago
- Related to Bug #2055: Issue synchronization creates more relations than it should added
Updated by liaham about 1 year ago
- Status changed from New to In Progress
- % Done changed from 0 to 100
Actions