[JCBC-167] ComplexKey converts longs to strings Created: 05/Dec/12  Updated: 17/Dec/12  Resolved: 17/Dec/12

Status: Resolved
Project: Couchbase Java Client
Component/s: None
Affects Version/s: 1.1-beta
Fix Version/s: 1.1.0
Security Level: Public

Type: Bug Priority: Major
Reporter: Chris Tashjian Assignee: Michael Nitschinger
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

I previously added this as a comment on JCBC-41

        Query q1 = new Query();
        long time1 = 0;
        long time2 = 99999999;
        long time3 = 99999999999l;

        q1.toString() --> ?startkey=0&endkey=99999999

        q1.toString()) --> ?startkey=0&endkey=%2299999999999%22

It's throwing quotes around the long value.

Comment by Chris Tashjian [ 05/Dec/12 ]
long time3 = 99999999999l; //note that's 99999999999L;
Comment by Michael Nitschinger [ 11/Dec/12 ]
Comment by Michael Nitschinger [ 17/Dec/12 ]
This has been fixed with 1.1.0.
Generated at Fri Nov 28 06:13:51 CST 2014 using JIRA 5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9.