500 when remove project
Created by: hbprotoss
gitlab omnibus install, version 8.1.4
==> /var/log/gitlab/gitlab-rails/production.log <==
Started DELETE "/hubin/test" for 127.0.0.1 at 2016-01-19 16:35:30 +0800
Processing by ProjectsController#destroy as HTML
Parameters: {"authenticity_token"=>"[FILTERED]", "namespace_id"=>"hubin", "id"=>"test"}
==> /var/log/gitlab/gitlab-shell/gitlab-shell.log <==
I, [2016-01-19T16:35:30.751553 #26355] INFO -- : Moving project hubin/test.git from </var/opt/gitlab/git-data/repositories/hubin/test.git> to </var/opt/gitlab/git-data/repositories/hubin/test+22+deleted.git>.
==> /var/log/gitlab/gitlab-rails/application.log <==
January 19, 2016 16:35: Repository "hubin/test" moved to "hubin/test+22+deleted"
==> /var/log/gitlab/gitlab-shell/gitlab-shell.log <==
I, [2016-01-19T16:35:31.144256 #26358] INFO -- : Moving project hubin/test.wiki.git from </var/opt/gitlab/git-data/repositories/hubin/test.wiki.git> to </var/opt/gitlab/git-data/repositories/hubin/test.wiki+22+deleted.git>.
==> /var/log/gitlab/gitlab-rails/application.log <==
January 19, 2016 16:35: Repository "hubin/test.wiki" moved to "hubin/test.wiki+22+deleted"
January 19, 2016 16:35: Project "test" was removed
==> /var/log/gitlab/gitlab-rails/production.log <==
Completed 500 Internal Server Error in 978ms (ActiveRecord: 81.1ms)
NoMethodError (undefined method `include?' for nil:NilClass):
app/controllers/projects_controller.rb:113:in `destroy'