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
If an account sets no character translation limit the limit is 1 000 000 000 000.
In that case requesting the usage will return a negative number for the character limit.
The cause of the error lies in UsageDeserializer::createDetail line 28 and 29.
There the limit and count are parsed as Integer, even though they are declared as long in Usage.Detail.
Given that the request can return a number larger than Integer::MAX_VALUE they should not only be declared as long but also parsed as such.
The text was updated successfully, but these errors were encountered:
If an account sets no character translation limit the limit is 1 000 000 000 000.
In that case requesting the usage will return a negative number for the character limit.
Minimal example:
The cause of the error lies in
UsageDeserializer::createDetail
line 28 and 29.There the
limit
andcount
are parsed asInteger
, even though they are declared aslong
inUsage.Detail
.Given that the request can return a number larger than
Integer::MAX_VALUE
they should not only be declared aslong
but also parsed as such.The text was updated successfully, but these errors were encountered: