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

thrift type i64 java to php serialize/deserealize not working

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.8
    • Fix Version/s: None
    • Component/s: PHP - Library
    • Labels:
      None
    • Environment:

      "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

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

                Dates

                • Created:
                  Updated: