You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as I undersand the issue, there are already existing records in the database for com.faforever.api.data.domain.Mod and com.faforever.api.data.domain.Map, which have invalid version numbers, so validation on entity level is not an option.
So in this case, additional validation logic needs to be added to the MapService and ModService classes for the upload methods.
Validation on entity level is too late and not suitable for proper error handling. We parse and validate a lua file inside the uploaded zip. MapService and ModService are the places to look for validation.
We had integer overflows causing weird file names and potentially errors in parsing of negative values in the clients.
The limit is the database:
The text was updated successfully, but these errors were encountered: