Skip to content
Snippets Groups Projects

Validates presence of User#name

Merged gitlab-qa-bot requested to merge github/fork/jouve/fix_user_validation into master

Created by: jouve

The 2 reasons are :

  • creation of user fail if name is empty : in after_save, it tries to create a namespace with namespace.name = user.name and namespece validates presence Namespace#name
  • in the web app links to team members are broken with empty User#name because they are of the form <a href'...'> user.name

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading