Project

General

Profile

Actions

Defect #39854

closed

"For any event on my bookmarked projects" option not sending notifications for non-member bookmarked projects

Added by Mizuki ISHIKAWA 5 months ago. Updated 4 months ago.

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

0%

Estimated time:
Resolution:
Wont fix
Affected version:

Description

When selecting the "For any event on my bookmarked projects" option under email notifications, it is expected that users will receive notifications for events in their bookmarked projects, regardless of their membership status in those projects.
However, it has been observed that notifications are only received if the user is both a member of the project and has it bookmarked.

The issue appears to be related to the logic defined in the following section of the code: https://github.com/redmine/redmine/blob/4cc0b8d2ca80f4de3a0217184e9ef982f2407c05/app/models/user.rb#L494-L505
This code updates the list of projects for which notifications should be sent. However, it seems to rely on the 'mail_notification' column of the member model to determine whether to send notifications, which does not account for non-member users who have bookmarked the project.
Therefore, if you are not a member, you will not receive notifications for projects you have bookmarked.

Related issue: Feature #35189: New email notification option "For any event on my bookmarked projects"


Files

defect-39854.patch (3.83 KB) defect-39854.patch Mizuki ISHIKAWA, 2023-12-15 05:48

Related issues

Related to Redmine - Feature #35189: New email notification option "For any event on my bookmarked projects"ClosedMarius BĂLTEANU

Actions
Actions

Also available in: Atom PDF