Cannot view 'admin' page for a project #1946

jasperla opened this Issue Nov 7, 2012 · 2 comments


None yet

2 participants

jasperla commented Nov 7, 2012

I have several projects configured in gitlab and I'm the admin for all of them. However for one particular project I cannot view it's admin page.

I get the following in production.log:

Started GET "/admin/projects/projectname" for at 2012-11-07 14:55:41 +0100
Processing by Admin::ProjectsController#show as HTML
  Parameters: {"id"=>"projectname"}
  Rendered admin/shared/_projects_head.html.haml (1.1ms)
  Rendered admin/projects/show.html.haml within layouts/admin (3.9ms)
Completed 500 Internal Server Error in 10ms

ActionView::Template::Error (undefined method `name' for nil:NilClass):
    43:       %b
    44:         Owner:
    45:     %td
    46:       =
    47:   %tr
    48:     %td
    49:       %b
  app/views/admin/projects/show.html.haml:46:in `_app_views_admin_projects_show_html_haml___4531250390733879548_47957220'

When I swap the repository name of this project with another in my gitolite.conf and try again it works for the other project (now with the same config) and the other still fails.

@randx randx added a commit that referenced this issue Nov 7, 2012
@randx randx Fix github issue #1946 b7445bb
randx commented Nov 7, 2012

thank you for report. fixed

@randx randx closed this Nov 7, 2012
jasperla commented Nov 7, 2012

Thank you for the very quick fix!

@randx randx added a commit that referenced this issue Jan 29, 2015
@randx randx Merge branch 'ldap-email-match' into 'master'
Improvements to LDAP::User model

* method #changed? also tracks changes of identites (fixes issue with email mapping)
* find ldap identity before initialize one

Fixes #1946

See merge request !1452
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment