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

Closed
Open
Created Jan 16, 2015 by Administrator@rootOwner

Cannot add tags to issues on gitlab 7.7.0.rc2

Created by: simonzack

I can't add tags to issues on gitlab 7.7.0.rc2, I'm getting the following error:

NoMethodError (undefined method `name' for nil:NilClass):
  app/services/issues/update_service.rb:17:in `execute'
  app/controllers/projects/issues_controller.rb:77:in `update'

I tried to fix this myself but am unfamiliar with ruby. The error seems to occur when label_ids is used in update_attributes(), but when I grepped for label_ids, I couldn't find where this was being written to, which is really confusing. Any pointers so I can dig deeper?

I've tested this on ruby 2.2.0 and I've posted a comment here, but now I'm not sure whether it's caused by the new ruby or my setup, since nobody else seems to be reporting the problem, so I'm creating a new issue for this.

Assignee
Assign to
Time tracking