# Bug OP-15635 - mention/comment made at the same time as work package modifications prevents mention notification email

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-15635

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 15.0.0 |
| Observed in versions | 14.5.0 |
| Sprint | 15.0.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 14.5.x |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable | Christophe Bliard |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

1.  Confirm current aggregation period in Admin \> Email and notifications \> Aggregation settings being set (5 minutes for instance)

2.  Modify something about a work package (anything besides the description) that would trigger a in-app notification for a user
    
    1.  for instance, assign the work package to a user, it would create an in-app notification for that user as being assignee is a notification reason.
    
    2.  alternatively, make the user a watcher of the work package, and modify any field. This too will create an in-app notification for that user.

3.  Within the aggregation period, add a comment and mention the user from step 2 (@someone syntax).

### What is the buggy behavior?

  - Mention'd user will not receive an email about the mention.

  - Assuming this is because the actions (because of the aggregation settings) gets squashed into one activity and the mention gets forgotten about.

  - Even after the aggregation period, there is no email notification.

### What is the expected behavior?

1.  Mention'd user should receive an email about the mention

### Environment information

*Please check and fill out the following details to help us identify in what versions and distributions of OpenProject the error occurs*

**OpenProject installation type**

  - Hosted cloud edition

  - Packaged installation
    
      - What distribution?

  - Docker All-in-one container

  - Docker-compose installation

  - Other (please specify)

**OpenProject version**

*14.3.0*

**Browser**

- [x] Chrome
- [ ] Firefox
- [ ] Safari
- [ ] Mobile Safari
- [x] Other (please specify): Edge

**Language**

*English*
