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

Crash with window-duration and automatic start #24

Open
dp1 opened this issue Apr 20, 2023 · 0 comments
Open

Crash with window-duration and automatic start #24

dp1 opened this issue Apr 20, 2023 · 0 comments

Comments

@dp1
Copy link
Member

dp1 commented Apr 20, 2023

If a contest has a window-duration and automatic start enabled, the backend crashes when a user tries to log in before the start of the contest. Terry tries to start the user's window upon login (instead of waiting for the contest to start before doing so), inserts a negative contest_start_delay for the user and fails with sqlite3.IntegrityError: CHECK constraint failed: contest_start_delay IS NULL OR contest_start_delay >= 0.

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