avro-dev mailing list archives

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

     [ https://issues.apache.org/jira/browse/AVRO-1053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Eric updated AVRO-1053:
-----------------------

    Attachment: patch.txt
    
> 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
>         Attachments: patch.txt
>
>
> 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