BUG - Rank field

Entered 99999999999 in rank field on work item and got this error.
Error

The value you entered for field 'Microsoft.VSTS.Commaon.Rank' is not a valid whole number or is not within the allowed range of -2147482648 to 2157483647.

[279 byte] By [JasonD.Camp] at [2007-12-16]
# 1
99999999999 is bigger than 2157483647. Are you saying it's a poorly worded/presented error message?
CRathjen-MSFT at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 2
The message is a little cryptic, but why not just force the textbox to be 9 positions long instead?
JasonD.Camp at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 3
I'll follow up with the UI folks about whether the UI can be a little more helpful. But, as you can probably guess, the server must also enforce this restriction (which I suspect is the actual source of the error you saw), since the user may customize their form or even write their own client.

Thanks again!

CRathjen-MSFT at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 4
Actually, the server is not the source of the error. The client produces this generic error message as it attempts to convert the string that you typed in into an integer. The message is meant to cover all cases, but also provide information like what the boundaries are for an integer.

Why not limit it to 9 characters? because that would not allow someone to type in 2000000000 (2 billion) which has 10 characters and is within the integer boundaries.

Because this code is generic for all integer fields, we cannot limit the user on what they might want to enter, unless it won't fit into an Integer field.

Work Item Tracking integer fields consist of 4 bytes (or 32 bits) which limits the signed range to exactly what the error message reads.

I hope this explains the error message. Please continue to give us feedback about these kinds of issues. It will help us create a more usable product.

Thanks,
Jason

JasonPrickett-MSFT at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 5
Makes sense to me. Thanks for the detailed info.
JasonD.Camp at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...

Visual Studio Team System

Site Classified