[ 
https://issues.apache.org/jira/browse/IGNITE-11597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexey Kosenchuk reassigned IGNITE-11597:
-----------------------------------------

    Assignee: Igor Sapego  (was: Alexey Kosenchuk)

> Node.js thin client UUID marshalling is wrong
> ---------------------------------------------
>
>                 Key: IGNITE-11597
>                 URL: https://issues.apache.org/jira/browse/IGNITE-11597
>             Project: Ignite
>          Issue Type: Bug
>          Components: thin client
>    Affects Versions: 2.7
>            Reporter: Igor Sapego
>            Assignee: Igor Sapego
>            Priority: Major
>             Fix For: 2.8
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Trying to put uuid with Node.js client and get from Java or C++ client  have 
> different results
> NodeJS put
> 5fbeee4e-b2a6-44dc-99ac-6444d7fe7df6
> {code}
> cache = (await igniteClient.getOrCreateCache("UUID_JS"))
>     .setKeyType(ObjectType.PRIMITIVE_TYPE.INTEGER)
>     .setValueType(ObjectType.PRIMITIVE_TYPE.UUID);
> key = 1;
> value = [95,190,238,78,178,166,68,220,153,172,100,68,215,254,125,246];
> await cache.put(key, value);
> {code}
> Java get
> {code}
> ClientCache<Integer, UUID> cache = igniteClient.getOrCreateCache("UUID_JS");
> UUID id = cache.get(1);
> System.out.println(id);
> {code}
> Java output
> {code}
> dc44a6b2-4eee-be5f-f67d-fed74464ac99
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to