-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
[BUG] Challonge Integration - Match fails loading with TypeError: Cannot read property 'toUpperCase' of null #208
Comments
And it so happens that when I post it, I figure out the solution - For Imported teams - if you do not provide a country flag - it will fail via behavior explained above. (Works w/o adding country flags for manually created seasons+teams+matches) |
Hmmm interesting. Could you take a look at the database and check to see if the flag column for those imported teams is Thanks! |
Ah, latest commit fixes this, looks like I wasn't checking the flag value to see if there was any data. The database technically accepts blank values which is what the front end does, but not NULL. This should be fixed if you pull from master, thanks for all the log files and everything btw, super helpful in tracking this down :) |
Hey, thanks. Will see if I can build from latest commit anytime soon and test it out. |
Should be built now! It's all done via actions whenever there's a commit to the main branch - https://github.com/PhlexPlexico/G5API/actions |
Describe the bug
Season/Team works as expected, however when loading imported teams/season into a match, it always fails with "TypeError: Cannot read property 'toUpperCase' of null"
To Reproduce
Steps to reproduce the behavior:
1.Create Challonge tournament (you can use one of mine, IDs:
pxfqujhq
andxarm1e09
2. Import Season and Teams
3. Add players to teams
4. Start a match w/ season and teams
5. Output as explained above
Screenshots

G5VAPI Logs:
CSGO Server Logs:
Contents sent to CSGO server:
Server info
DatHost instance
Docker Information
Using public docker files (pulled from your repos) (:latest)
The text was updated successfully, but these errors were encountered: