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

Closed
jasperla opened this Issue Oct 29, 2012 · 0 comments

Projects

None yet

2 participants

@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.

@mikkyhouse mikkyhouse closed this Feb 25, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment