E-mail after (re-)assign fails
Created by: rvilbrandt
After assigning most (but not all) issues to a person won't send an e-mail but leaves redis failures. Reproducable on my installation.
Any ideas?
Worker: xxxx:1825 on mailer at about a minute ago
Class: Notify Arguments: "reassigned_issue_email" 4 9 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.8/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.8/lib/active_record/relation/finder_methods.rb:107:in `find'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.8/lib/active_record/querying.rb:5:in `find'
/home/gitlab/gitlab/app/mailers/notify.rb:74:in `reassigned_issue_email'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:167:in `process_action'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:121:in `process'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.8/lib/abstract_controller/rendering.rb:45:in `process'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/actionmailer-3.2.8/lib/action_mailer/base.rb:457:in `process'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/actionmailer-3.2.8/lib/action_mailer/base.rb:452:in `initialize'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/resque_mailer-2.0.3/lib/resque_mailer.rb:36:in `new'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/resque_mailer-2.0.3/lib/resque_mailer.rb:36:in `perform'