Describe the bug
Clicking a notification for deleted forum content opens a blank page instead of redirecting the user to a safe page with an explanation.
This occurs for both:
- deleted thread notifications
- deleted reply/post notifications
Expected behavior
Clicking a notification for deleted forum content should not open a blank page.
Instead, Submitty should redirect the user to a safe forum page and display a warning or informational message indicating that the selected thread or post has been deleted.
Examples:
- deleted thread notification → redirect to the forum index with a message
- deleted post/reply notification → redirect to the parent thread page or forum page with a message
To Reproduce
Steps to reproduce the behavior:
- Create a forum thread.
- Delete the thread, or create a reply and delete the reply.
- Open the resulting notification from the home page or course notifications page.
- Observe that a blank page is opened.
Configuration
- OS: macOS
- Browser: Chrome
Additional context
This issue is specifically about safely handling notification links whose target forum content has already been deleted.
This is separate from the notification text/truncation issue.
Describe the bug
Clicking a notification for deleted forum content opens a blank page instead of redirecting the user to a safe page with an explanation.
This occurs for both:
Expected behavior
Clicking a notification for deleted forum content should not open a blank page.
Instead, Submitty should redirect the user to a safe forum page and display a warning or informational message indicating that the selected thread or post has been deleted.
Examples:
To Reproduce
Steps to reproduce the behavior:
Configuration
Additional context
This issue is specifically about safely handling notification links whose target forum content has already been deleted.
This is separate from the notification text/truncation issue.