Hello, I came across a very weird bug:
I am using couchbase 3 with Java SDK.
I store a user with the key: <TENANAT_ID>- and I also have the user id inside the document.
Now, when I insert a user with a this kind of userId: 1009407124396297990 the UI shows:
This is the JsonDocument (printed just before calling the bucket)
JsonDocument{id=‘114-1009407124396297990’, cas=0, expiry=0, content={“userCreationTimestamp”:1439331738331,“identities”:[“2a7db251-4faf-4ef5-88b9-
5f0c6307d0b9”],“lastKnownSessionId”:null,“modelVersion”:“3”,“lastEventTimestamp”:null,“tenantId”:114,“userProperties”:{},“lastSessionProperties”:{},“expireAt”:null,“userId”:1009407124396297990}}
UI:
114-1009407124396297990
{
“userCreationTimestamp”: 1439331738331,
“identities”: [
“2a7db251-4faf-4ef5-88b9-5f0c6307d0b9”
],
“lastKnownSessionId”: null,
“modelVersion”: “3”,
“lastEventTimestamp”: null,
“tenantId”: 114,
“userProperties”: {},
“lastSessionProperties”: {},
“expireAt”: null,
“userId”: 1009407124396298000
}
DIFFERENT NUMBERS!
But when I retrieve the user from couchbase I get:
{“tenantId”:114,“userId”:1009407124396297990,“identities”:[“2a7db251-4faf-4ef5-88b9-5f0c6307d0b9”],“userProperties”:{},“lastKnownSessionId”:null,“lastEventTimestamp”:null,“expireAt”:null,“lastSessionProperties”:{},“userCreationTimestamp”:1439331738331,“modelVersion”:“3”}
WHICH IS OK!.
Is it really a UI bug or is it data problems?
Regards, ido