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

Error occuring on inference page when updating match progress with empty string #311

Open
mwiens91 opened this issue Sep 20, 2020 · 0 comments

Comments

@mwiens91
Copy link

As shown in the below screenshot, this error occurs when you leave one of the form fields blank when updating match progress on the inference page.

screenshot_20200920_130712

Aligulac just passes this empty string along in the URL it redirects you to (in this case http://aligulac.com/inference/match/?bo=7&ps=5414%2C177&s1=&s2=1), which the endpoint doesn't know how to handle.

There are a few ways you can handle this, but I think the sanest way is just to parse a "blank score" as a score of zero at the endpoint.

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