Actions
Defect #5569
closedDrop down list for related version does not show up in sub-projects
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Start date:
2010-05-21
Due date:
% Done:
100%
Estimated time:
Resolution:
Fixed
Affected version:
Description
Even though a version is declared as shared by sub-projects, it doesn't show up in an issue's edition form.
Setting fixed_id through the rails console exibhits the right behavior.
It seems as though the code for assignable_versions in the issue controller needs to walk not only the project but also it's parent's projects in that case, I don't get exactly what needs to be modified here:
- Versions that the issue can be assigned to
def assignable_versions
@assignable_versions ||= (project.shared_versions.open + [Version.find_by_id(fixed_version_id_was)]).compact.uniq.sort
end
Actions