Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Couchbase | Couchbase Server 2.0

Couchbase 2.0 Bet corrupts "long" c# fields

1 reply [Last post]
  • Login or register to post comments
Sat, 10/06/2012 - 16:28
ezrover
Offline
Joined: 09/19/2012
Groups: None

Server: Windows 2008 R2 64 bit

Client: C#

Confirmed Json string being written with .Save and the long value is correct during the save function.

In read function and also the Admin UI the value of the long field is incorrect. Here is an example:

Document: fbUser_634851623223408516

{
"CreatedTime": "/Date(1349565522340-0700)/",
"TableExpires": "/Date(-62135568000000-0800)/",
"UserId": 634851623223408500,
"UserName": "634851623223408516",
"UserPin": "888",
"recType": "fbUser"
}

UserId should be same as UserName as was confirmed during the .Save function.

Any ideas why the long

[DataMember]
[JsonProperty(PropertyName = "UserId")]
public long UserId { get; set; }

gets corrupted?

Top
  • Login or register to post comments
Mon, 10/08/2012 - 13:40
mikew
Offline
Joined: 03/14/2011
Groups:

I have created an issue for this problem here:

http://www.couchbase.com/issues/browse/MB-6842

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker