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

Submission - "too soon" error message #210

Open
KaiserDMC opened this issue Jun 24, 2024 · 0 comments
Open

Submission - "too soon" error message #210

KaiserDMC opened this issue Jun 24, 2024 · 0 comments

Comments

@KaiserDMC
Copy link

Describe the bug
After the initial submission is sent, the 30 second timer starts and the "Submit" button is locked, however if the user goes to the submission "Details" (because the provided solution failed) and after staying inside of "Details" goes back to the "Compete" page, during which the timer has expired (hit 0), the next submission will error out with "Submission was sent too soon.".

Steps To Reproduce

  1. Submit a solution to a task that will lead to some kind of error (Runtime, Compile, Wrong Answer)
  2. Use the "Refresh" button to get the "Submissions" results before the timer expires
  3. Stay inside of the "Details" page until the timer expires
  4. Go back using your browser's "Go one page back" button
  5. Try to submit a new solution to the same task
  6. Receive the error message

The error is slightly hard to reproduce as you have to be pretty close to the timer hitting 0 and re-enabling the "Submit" button. It is slightly easier if you go back and forth between the "Details" and "Go Back" pages or generally if you have around 5-6 seconds left and go to "Details" and immediately back.

Screenshots
Screenshot_20240624_200325

Additional context
The error message is received even if the solution of the task is fully correct, however I assume that nobody would go to check the "Details" unless there is some kind of error.

I don't believe this is something that many users will ever experience or that it leads to any "degraded" user experience. However, I decided to log it in, in case this is not the intended behaviour.

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

1 participant