Projects: Issueshttp://projects.andriylesyuk.com/http://projects.andriylesyuk.com/plugin_assets/andriy_lesyuk/images/s-andy.ico2017-04-04T14:17:44ZProjects
Redmine Subscription - Bug #2422 (New): User is not removed from project_subscribers table when user is d...http://projects.andriylesyuk.com/issues/24222017-04-04T14:17:44ZCheyenne Wills
<p>Ran into an internal Redmine error after deleting a user from Redmine. The project_subscribers table still had a record for the deleted user.</p>
<p>I’m using the latest checkout level from the repository.</p>
<pre>NoMethodError (undefined method `allowed_to?' for nil:NilClass):
plugins/subscription/lib/issue_subscription_patch.rb:23:in `block in notified_users_with_subscribers'
plugins/subscription/lib/issue_subscription_patch.rb:21:in `notified_users_with_subscribers'
app/models/mailer.rb:62:in `deliver_issue_add'
app/models/issue.rb:1696:in `send_notification'
app/models/issue.rb:210:in `create_or_update'
app/controllers/issues_controller.rb:140:in `create'
lib/redmine/sudo_mode.rb:63:in `sudo_mode'
</pre>
<p>Manually deleting the offending entry from the project_subscribers table corrected the error.</p>