Content
View differences
Updated by Henriette Darge 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 taken to the notification center (without the split screen). _(Note: once the_ [_empty state_](https://community.openproject.org/projects/openproject/work_packages/38610/activity)_s are implemented in Notification CEnter, they will be redirected to the notification center an empty split screen instead)._
* In the user tries to open the the split screen of a deleted project from a list (that has yet to take that deletion into account), the user is taken to the work package list of the project in question, without the split-screen.
* The message in the red error snack bar in either case should be "_The requested resource could work package you are looking for does not be found_". (similar to how it is on other places in the application) exist or has been deleted_".
**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 taken to the notification center (without the split screen). _(Note: once the_ [_empty state_](https://community.openproject.org/projects/openproject/work_packages/38610/activity)_s are implemented in Notification CEnter, they will be redirected to the notification center an empty split screen instead)._
* In the user tries to open the the split screen of a deleted project from a list (that has yet to take that deletion into account), the user is taken to the work package list of the project in question, without the split-screen.
* The message in the red error snack bar in either case should be "_The requested resource could