Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+4 votes
1.6k views
in Q2A Core by
Steps to reproduce this bug:
1. login
2. write answer to a question
3. submit it
5. refresh page
Answer is now duplicated.

2 Answers

0 votes
by
Does this happen here as well?
0 votes
by
Thanks for bringing this up - it's happening because the refresh is reposting the form again, so in theory it's not a bug, but it is of course a problem!

The immediate solution is that any user (even if not logged in) can hide their post, so they can effectively remove the duplicate post themselves.

But I will add a fix in the next beta which automatically detects duplicate submissions, and ignores the second one.
by
I am not an expert on this, but isn't the recommended solution to redirect to another page after the form is posted?
by
Yes, this will be addressed in the next major upgrade.
...