avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AVRO-1053) PHP long is treated inconsistently between decoding and encoding when using gmp
Date Mon, 02 Apr 2012 15:05:26 GMT
PHP long is treated inconsistently between decoding and encoding when using gmp
-------------------------------------------------------------------------------

                 Key: AVRO-1053
                 URL: https://issues.apache.org/jira/browse/AVRO-1053
             Project: Avro
          Issue Type: Bug
          Components: php
    Affects Versions: 1.6.3
         Environment: 32-bit apache using gmp 
            Reporter: Eric


A record containing a long value decoded by avro using gmp cannot be re-encoded.  It fails
validation because read_long returns a string value when using gmp and on encode is_valid_datum()
for long requires an int value.

--
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

        

Mime
View raw message