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
[ v0.9.3-beta ] Replay vault: search for ID throws an error if query contains non numeric characters #1097
Comments
This only happens if you give an alphanumeric value for the ID property because our API expects a number here. On the title, this does not throw an error. This is not a Linux issue. All platforms are affected. Unfortunately, this is not easily solvable. JSONAPI declares ID to be a String, but technically it remains a number in the database. I will try to tackle this in the query criteria refactor I am working on. |
This also happens when using contains and entering any ID as the api probably doesn't expect the non numeric stars in the id: https://api.faforever.com/data/game?filter=id==%22*9351058*%22 |
For further information, at least part of this bug appears to be intermittent and related specifically to Download's client, not the API call. In my client (0.9.3 beta) from New Zealand, all search requests return a 400 Bad Request error. However, a friend of mine in Germany tried the ID search and had no issues. I mention the countries just on the off-chance it is relevant. Also, I have no issues when doing a similar search using the legacy client. |
Cannot reproduce in current client |
Searching with any option and any keyword under the "Vault" -> "Online Replays" tab results in this
Here is the content of the Stacktrace :
for reference I am using this guide : https://youtu.be/RRINgZQl7LU
(text version here : https://pastebin.com/jNrTFxvV )
with the sole difference of having made all of the contents of $HOME/.faforever/bin executable on top of the other things I do in my guide.
(search under maps and mods works)
The text was updated successfully, but these errors were encountered: