Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-11596

PHP thin client UUID marshalling is wrong

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.7
    • None
    • thin client
    • None

    Description

      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"

      $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]);
      

      Java get

      ClientCache<Integer, UUID> cache = igniteClient.getOrCreateCache("UUID_PH");
      UUID id = cache.get(1);
      System.out.println(id);
      

      Java output

      dc427ae0-ed2f-0fee-cd0a-38c78f7f59aa
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              isapego Igor Sapego
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: