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
  • #1862

Closed
Open
Created Oct 29, 2012 by Administrator@rootOwner

Broken error checking for adding new team members (HTTP 500)

Created by: jasperla

When adding a new user to a project in the "Add new team member" section, it's possible to click 'Add' without having selected a user. This will generate an internal server error:

NoMethodError (undefined method each' for nil:NilClass): app/models/users_project.rb:72:inblock in bulk_import' app/models/users_project.rb:71:in bulk_import' app/controllers/admin/projects_controller.rb:24:inteam_update'

This is merely a usability issue since one normally has to select a user, but showing a error message instead of failing hard would be nicer.

Assignee
Assign to
Time tracking