Page view of milestones returns 404 error
Created by: BelokrysFedotov
After upgrade 3.9-4.0-4.1-4.2, I get the problem. When I try to open the milestone 1 view of project, I got a 404 error. But for milestions 2,3 and 4 of the same project, it's ok.
In log/production.log:
Started GET "/pr0010/milestones/1" for 93.175.261.358 at 2013-03-15 18:00:53 +0400
Processing by MilestonesController#show as HTML
Parameters: {"project_id"=>"pr0010", "id"=>"1"}
Rendered milestones/show.html.haml within layouts/project_resource (84.7ms)
Completed 500 Internal Server Error in 102ms
ActionController::RoutingError (No route matches {:action=>"show", :controller=>"team_members", :project_id=>#<Project id: 3, name: "Project 0010", path: "pr0010", description: nil, created_at: "2012-10-25 12:45:53", updated_at: "2012-10-26 07:00:30", creator_id: 2, default_branch: "master", issues_enabled: true, wall_enabled: true, merge_requests_enabled: true, wiki_enabled: true, namespace_id: nil, public: false>, :id=>nil}):
app/helpers/projects_helper.rb:53:in `tm_path'
app/views/milestones/show.html.haml:90:in `block in _app_views_milestones_show_html_haml__367471058952386555_22510640'
app/views/milestones/show.html.haml:89:in `_app_views_milestones_show_html_haml__367471058952386555_22510640'
app/controllers/milestones_controller.rb:38:in `show'
After moving issues between milestones, i've got a reason of this problem. There is some issues in milestone 1, than have been assigned to user, who was excluded from the group of project. I've reassigned issue to other user.
I dont know it is problem of old versions, migration or new version. But I want you to take attention to this likely problem