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
Updated by Pierre-Yves Ritschard over 14 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
This is fixed in HEAD
Updated by Mischa The Evil over 14 years ago
- Status changed from Resolved to Closed
- Resolution set to Fixed
Thanks for your feedback.
Actions