Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #5354

Closed
Open
Created Oct 17, 2013 by Administrator@rootOwner

(Solved) Error in users_groups table > Errors 500

Created by: potsky

Hi,

I have installed gitlab stable and when users click on the Issue menu in any project, they have an 500 error :

NoMethodError in Projects/issues#index

Showing /home/git/gitlab/app/views/projects/issues/_issues.html.haml where line #9 raised:

undefined method `name' for nil:NilClass
Extracted source (around line #9):

6:         = form_tag bulk_update_project_issues_path(@project), method: :post  do
7:           %span Update selected issues with  
8:           = select_tag('update[status]', options_for_select(['open', 'closed']), prompt: "Status")
9:           = select_tag('update[assignee_id]', options_from_collection_for_select(@project.team.members, "id", "name", params[:assignee_id]), prompt: "Assignee")
10:           = select_tag('update[milestone_id]', options_from_collection_for_select(project_active_milestones, "id", "title", params[:milestone_id]), prompt: "Milestone")
11:           = hidden_field_tag 'update[issues_ids]', []
12:           = hidden_field_tag :status, params[:status]
Trace of template inclusion: app/views/projects/issues/index.html.haml

Rails.root: /home/git/gitlab

Application Trace | Framework Trace | Full Trace
app/views/projects/issues/_issues.html.haml:9:in `block in _app_views_projects_issues__issues_html_haml__2115515716806417192_70046001972200'
app/views/projects/issues/_issues.html.haml:6:in `_app_views_projects_issues__issues_html_haml__2115515716806417192_70046001972200'
app/views/projects/issues/index.html.haml:23:in `_app_views_projects_issues_index_html_haml___4068458399037342575_70046000854600'
app/controllers/projects/issues_controller.rb:27:in `index'
Request

Parameters:

{"project_id"=>"groupB/french-national-weather-html5"}
Show session dump

Show env dump

Response

Headers:

None

My Gitlab version is :

gitlab/ > git show
commit daf2cf62d7f6f718cb723ae61c4ef60e5d6a711f
Merge: e4ba934 a5e19c4
Author: Dmitriy Zaporozhets <[email protected]>
Date:   Tue Sep 24 00:20:34 2013 -0700

    Merge pull request #5163 from hiroponz/update-check-script-in-stable-branch

    Update check script in stable branch

This is a fresh install with 50 projects and 0 issues.

When users go to their Dashboard > Issues, it works.

Can I try something to help ?

Thank you !

Assignee
Assign to
Time tracking