Priority/Severity: Medium - While this bug doesn’t break functionality, it contradicts the purpose of flagging, potentially allowing inappropriate content to remain accessible.
Platform: Tested on a desktop, OS: Windows 10, Browser: Google Chrome.
Description: In Discourse, when a user’s comment is flagged, it gets removed from the regular topic view, indicating that the flagging function is working as expected. However, by navigating to the offending user’s profile and checking their ‘Recent Replies’, the flagged comment remains visible despite the flag. This behavior contradicts the intended purpose of flagging, as it should make a discourse safer from rude and obscene comments.
Expected Result: Flagged comments should be hidden from all user views, including the ‘Recent Replies’ section in the user profile, except for admin or moderator views.
Actual Result: Flagged comments are hidden from the regular topic view, but still visible under ‘Recent Replies’ on the user’s profile page.
Reproducible Steps:
- Login as Test User 1 and create a post or comment.
- Logout from Test User 1 and login as Test User 2.
- Navigate to the post created by Test User 1 and flag it.
- Confirm that the post is no longer visible in the topic view (you can check this by logging in as a third Test User 3).
- Still logged in as Test User 3, navigate to Test User 1’s profile.
- Click on ‘Activity’, then on ‘Replies’ from the dropdown.
- Check for the flagged post in this section.