SEVERE BUG: 2.0 Beta, 64bit long data is wrong on Windows Server 2008 R2!!!
Mon, 10/08/2012 - 12:19
From the .Net SDK or AdminUI try to change the UserId field manually to set it equal to the same number as the UesrName and it keep rounding it up!!!
{
"CreatedTime": "/Date(1349565534259-0700)/",
"UserId": 634851623342592800,
"UserName": "634851623342592724",
"recType": "fbUser"
}
Thu, 10/11/2012 - 18:21
I just wanted to follow up here for anyone else who might read this post.
The reason for this error is that most javascript engines only support numbers up to 2^53. We have added this to our docs.
You're hitting a limit of most (if not all) JavaScript engines. They can't represent number larger than 2 ** 53. See the following in node (V8) and Spidermonkey: fdmanana 23:43:24 ~ > node > 634851623223408516 634851623223408500 > fdmanana 23:43:36 ~ > fdmanana 23:43:37 ~ > js > 634851623223408516 634851623223408500 > fdmanana 23:43:41 ~ > fdmanana 23:43:42 ~ > Anyone who wants to store such large numbers, will have to store them as strings.
I have created an issue for this problem here:
http://www.couchbase.com/issues/browse/MB-6842