[ https://issues.apache.org/jira/browse/THRIFT-1548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jens Geyer resolved THRIFT-1548. -------------------------------- Fix Version/s: 0.10.0 Resolution: Fixed > PHP TCompactProtocol always reads bools as false > ------------------------------------------------ > > Key: THRIFT-1548 > URL: https://issues.apache.org/jira/browse/THRIFT-1548 > Project: Thrift > Issue Type: Bug > Components: PHP - Library > Affects Versions: 0.8 > Reporter: Gregory Hart > Assignee: Gregory Hart > Priority: Major > Fix For: 0.10.0 > > Attachments: TCompactProtocol.php.patch > > > In TCompactProtocol::readFieldBegin, $field_type should be compared to > COMPACT_TRUE or COMPACT_FALSE before being converted to a TType. Otherwise, > $field_type will be converted to TType::BOOL (0x02) and will always match > COMPACT_FALSE (0x02). -- This message was sent by Atlassian Jira (v8.20.1#820001)