You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Maxim Muzafarov (Jira)" <ji...@apache.org> on 2019/10/08 11:28:00 UTC

[jira] [Updated] (IGNITE-11596) PHP thin client UUID marshalling is wrong

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

Maxim Muzafarov updated IGNITE-11596:
-------------------------------------
    Fix Version/s:     (was: 2.8)
                   2.9

> PHP thin client UUID marshalling is wrong
> -----------------------------------------
>
>                 Key: IGNITE-11596
>                 URL: https://issues.apache.org/jira/browse/IGNITE-11596
>             Project: Ignite
>          Issue Type: Bug
>          Components: thin client
>    Affects Versions: 2.7
>            Reporter: Igor Sapego
>            Priority: Major
>             Fix For: 2.9
>
>
> Trying to put uuid with PHP client and get from Java or C++ client  have different results
> PHP put
> [238,15,47,237,224,122,66,220,170,89,127,143,199,56,10,205] = "ee0f2fed-e07a-42dc-aa59-7f8fc7380acd"
> {code}
> $cache = $client->getOrCreateCache("UUID_PH")->setKeyType(ObjectType::INTEGER)->setValueType(ObjectType::UUID);
> $cache->put(1,[238,15,47,237,224,122,66,220,170,89,127,143,199,56,10,205]);
> {code}
> Java get
> {code}
> ClientCache<Integer, UUID> cache = igniteClient.getOrCreateCache("UUID_PH");
> UUID id = cache.get(1);
> System.out.println(id);
> {code}
> Java output
> {code}
> dc427ae0-ed2f-0fee-cd0a-38c78f7f59aa
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)