Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't post comment which have the same comment content with a is_removed comment #100

Open
grootpiano opened this issue Sep 22, 2016 · 1 comment

Comments

@grootpiano
Copy link

Hello! When I change one comment is_removed=True, and then post a comment with the same comment content of the removed comment. There is nothing new in my database. Is there anything wrong in my code. Thanks!

@tisdall
Copy link

tisdall commented Aug 10, 2018

I was about to report a new bug and then found this... The issue seems to be that CommentDetailsForm.check_for_duplicate_comment() doesn't include is_removed=False in the filter when looking for duplicates. This means that trying to repost a deleted comment exactly results in the deleted comment being returned. However, this appears to only happen if the same post is done on the same day as the deleted one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants