Defect #39854
closed"For any event on my bookmarked projects" option not sending notifications for non-member bookmarked projects
0%
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
Related issues