Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-1580

thrift type i64 java to php serialize/deserealize not working

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.8
    • None
    • PHP - Library
    • None
    • "Ubuntu Server Cloud Guest 11.10 (Oneiric Ocelot)" - this for AWS
      Nginx + PHP5-FPM

    Description

      I create struct

      struct Request {
      1: optional i64 uid,
      2: optional string name
      }

      on java client make serealize. On PHP without extention deserealize and have uid as null.

      Any other types work normally:

      struct Request {
      1: optional i32 uid,
      2: optional string name
      }

      struct Request {
      1: optional string uid,
      2: optional string name
      }

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mastercode Sergei Labutin
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: