Add Repository Internal Server Error
Created by: halidaltuner
Hi Guys,
I have a Gitlab 5.1 version. I have an this error(s) when i clicked add repository page or Admin -> Projects page click.
This problem on Gitlab 5.0 / Gitlab 5.1 instance have an error.
Started GET "/projects/new" for at 2013-05-21 23:36:25 +0300
Processing by ProjectsController#new as HTML
Rendered projects/_new_form.html.haml (67.5ms)
Rendered projects/new.html.haml within layouts/application (68.3ms)
Completed 500 Internal Server Error in 74ms
ActionView::Template::Error (comparison of NilClass with String failed):
14: = f.label :namespace_id do
15: %span Namespace
16: .input
17: = f.select :namespace_id, namespaces_options(params[:namespace_id] || :current_user), {}, {class: 'chosen'}
18:
19:
20: .clearfix
app/helpers/namespaces_helper.rb:14:in `namespaces_options'
app/views/projects/_new_form.html.haml:17:in `block in _app_views_projects__new_form_html_haml___531520833523003647_60687280'
app/views/projects/_new_form.html.haml:1:in `_app_views_projects__new_form_html_haml___531520833523003647_60687280'
app/views/projects/new.html.haml:5:in `_app_views_projects_new_html_haml___2601119772810408214_60598640'
What i do any for errors?