Content
View differences
Updated by Parimal Satyal over 4 years ago
**As** a user being notified via reminder email
**I want to** have an informative message on why a deleted work package does not exist if I clicked on it in the reminder mail
**so that** I am not confused
**Scenario**
* The first user creates a work package and mentions a user/assigns a user .... leading to a notification being created for the second user
* That second user does not read the notification in app leading to it being included in the reminder mail
* The first user deletes the work package leading to the notification being removed
* The second user clicks on the link in the reminder mail
**Notes**
This can easily be tested by using the following url: [https://community.openproject.org/notifications/details/0](https://community.openproject.org/notifications/details/0)
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/22337/content"></div></figure>
**Acceptance criteria**
* If the user clicks on a work package that has been deleted since the time the notification was triggered, they are directed to the parent view (work package table view of the project in question) with a red error message snack bar with this text: "_The work package you are looking for does not exist or has been deleted_". TBD
**I want to** have an informative message on why a deleted work package does not exist if I clicked on it in the reminder mail
**so that** I am not confused
**Scenario**
* The first user creates a work package and mentions a user/assigns a user .... leading to a notification being created for the second user
* That second user does not read the notification in app leading to it being included in the reminder mail
* The first user deletes the work package leading to the notification being removed
* The second user clicks on the link in the reminder mail
**Notes**
This can easily be tested by using the following url: [https://community.openproject.org/notifications/details/0](https://community.openproject.org/notifications/details/0)
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/22337/content"></div></figure>
**Acceptance criteria**
* If the user clicks on a work package that has been deleted since the time the notification was triggered, they are directed to the parent view (work package table view of the project in question) with a red error message snack bar with this text: "_The work package you are looking for does not exist or has been deleted_".