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

Prevent duplicate posts/comments #1693

Closed
huumn opened this issue Dec 9, 2024 · 0 comments · Fixed by #1747
Closed

Prevent duplicate posts/comments #1693

huumn opened this issue Dec 9, 2024 · 0 comments · Fixed by #1747

Comments

@huumn
Copy link
Member

huumn commented Dec 9, 2024

This happens likely because of accidental, and quick, double clicks on form submission.

I think the right solution will be to create a unique index on Item on (userId, parentId, title, text, subName).

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

Successfully merging a pull request may close this issue.

1 participant