Project

General

Profile

Actions

Defect #32003

open

Project copy always send email notifications ignoring "Send email notifications during the project copy" option

Added by Yuichi HARADA over 4 years ago. Updated over 4 years ago.

Status:
Confirmed
Priority:
Normal
Assignee:
-
Category:
Email notifications
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

When copying a project in the projects list(Administration > Projects), you can disable sending an email by unchecking the "Send email notifications during the project copy" checkbox.
However, even if this checkbox is unchecking, email notifications are sent.


Files

ScreenShot_2019-09-04.png (66.4 KB) ScreenShot_2019-09-04.png Yuichi HARADA, 2019-09-04 03:57
Actions #1

Updated by Go MAEDA over 4 years ago

  • Subject changed from When copying a project, send an email even if email notification is not required to Project copy always send email notifications ignoring "Send email notifications during the project copy" option
  • Category set to Email notifications
  • Status changed from New to Confirmed
  • Affected version set to 4.0.0

The option does not work since Redmine 4.0.0. Probably it is caused by #26791. Replacing deliver_later with deliver in app/models/mailer.rb can be a quick-and-dirty workaround.

Actions #2

Updated by Pavel Rosický over 4 years ago

this method is problematic and should be deprecated because it can't reliably work with async deliveries https://github.com/redmine/redmine/blob/master/app/models/mailer.rb#L611

it might be better not to generate emails at all if you don't want to send them

Actions

Also available in: Atom PDF