[
https://issues.apache.org/jira/browse/THRIFT-1580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergei Labutin updated THRIFT-1580:
-----------------------------------
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
\}
was:
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,
}
> thrift type i64 java to php serialize/deserealize not working
> -------------------------------------------------------------
>
> Key: THRIFT-1580
> URL: https://issues.apache.org/jira/browse/THRIFT-1580
> Project: Thrift
> Issue Type: Bug
> Components: PHP - Library
> Affects Versions: 0.8
> Environment: "Ubuntu Server Cloud Guest 11.10 (Oneiric Ocelot)" -
> this for AWS
> Nginx + PHP5-FPM
> Reporter: Sergei Labutin
> Priority: Critical
>
> 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
> \}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira