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

Closed
Open
Created Nov 23, 2012 by Administrator@rootOwner

E-mail fails when assign an issue from nobody

Created by: harryxu

gitlab version: 3.1.0

I create an issue and not assign to anyone, then I assign this issue to someone from issues list. This will cause email notification failed.

But if assign an issue to someone at issue creation form or assign an issue from someone to another, that will work.

Class
Notify
Arguments
"reassigned_issue_email"
5
11
nil
Exception
ActiveRecord::RecordNotFound
Error
Couldn't find User without an ID
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.9/lib/active_record/relation/finder_methods.rb:310:in `find_with_ids'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.9/lib/active_record/relation/finder_methods.rb:107:in `find'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.9/lib/active_record/querying.rb:5:in `find'
/home/gitlab/gitlab/app/mailers/notify.rb:26:in `reassigned_issue_email'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.9/lib/abstract_controller/base.rb:167:in `process_action'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.9/lib/abstract_controller/base.rb:121:in `process'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.9/lib/abstract_controller/rendering.rb:45:in `process'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/actionmailer-3.2.9/lib/action_mailer/base.rb:458:in `process'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/actionmailer-3.2.9/lib/action_mailer/base.rb:452:in `initialize'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/resque_mailer-2.1.0/lib/resque_mailer.rb:42:in `new'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/resque_mailer-2.1.0/lib/resque_mailer.rb:42:in `perform'
Assignee
Assign to
Time tracking