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

Fix Match Key Validation for Double Elim SFs #979

Merged

Conversation

phil-lopreiato
Copy link
Member

Summary:
I can't believe nobody actively reported this (or that I didn't notice it in the crash logs before)...

The app's match key validation doesn't handle set numbers with two digits, so it crashes

We get this crash:

Fatal Exception: java.lang.IllegalArgumentException
Invalid match key 2023cmptx_sf11m1
com.thebluealliance.androidclient.fragments.match.MatchInfoFragment.onCreate (MatchInfoFragment.java:6) 

Added some tests to cover this

Screenshots:

image

@phil-lopreiato phil-lopreiato changed the title Fix match keys Fix Match Key Validation for Double Elim SFs Jan 15, 2024
@phil-lopreiato phil-lopreiato merged commit 584359b into the-blue-alliance:master Jan 15, 2024
4 checks passed
@phil-lopreiato phil-lopreiato deleted the fix-match-keys branch January 15, 2024 18:47
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

Successfully merging this pull request may close these issues.

1 participant