404 after deleted user
Created by: icholy
- Created user
foo
- Added user
foo
to projectmy-project
- Created a new issue and assigned it to
foo
- Closed issue as project master
- Deleted user
foo
Then the index/root page started giving me (and every other user) a 404
Started GET "/" for 127.0.0.1 at 2012-05-10 16:27:39 -0400
Processing by ProjectsController#index as HTML
Rendered events/_event_issue.html.haml (4.8ms)
Rendered events/_event.html.haml (5.3ms)
Rendered projects/index.html.haml within layouts/application (14.2ms)
Completed 500 Internal Server Error in 21ms
ActionController::RoutingError (No route matches {
:action=>"show",
:controller=> "issues",
:project_id=>#<Project
id: 6,
name: "my-project",
path: "my-project",
description: nil,
created_at: "2012-05-08 13:57:18",
updated_at: "2012-05-09 16:14:34",
private_flag: true,
code: "my-project",
owner_id: 2,
default_branch: "master",
issues_enabled: true,
wall_enabled: true,
merge_requests_enabled: true,
wiki_enabled: false
>,
:id=>nil
}):
app/views/events/_event_issue.html.haml:5:in `_app_views_events__event_issue_html_haml___439338695_115969750'
app/views/events/_event.html.haml:4:in `_app_views_events__event_html_haml__972233839_116011430'
app/views/projects/index.html.haml:13:in `_app_views_projects_index_html_haml__331061_115976090'
I've deleted everything related to gitlab/unicorn from /tmp/
and /home/gitlab/gitlab/tmp/
and restarted the server but to no avail.