Skip to content

Skipping voting deadline in round editing/creation gives incomprehensible error #273

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

Open
lgelauff opened this issue Apr 12, 2025 · 0 comments

Comments

@lgelauff
Copy link
Collaborator

Reproduce: create a new round, or edit an existing round. Make sure all fields are valid, but leave the voting deadline empty.

This gives the following error:

Internal server error: <ExceptionInfo [ValueError: invalid literal for int() with base 10: ''] (41 frames, last=Callpoint('<listcomp>', 119, 'boltons.timeutils', '/data/project/montage-beta/www/python/venv/lib/python3.9/site-packages/boltons/timeutils.py', 12, ' dt_args = [int(p) for p in _NONDIGIT_RE.split(iso_str)]'))>

I would expect an error like "Choose a valid voting deadline".

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

No branches or pull requests

1 participant