You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Sherban Drulea (JIRA)" <ji...@apache.org> on 2013/06/25 04:32:20 UTC

[jira] [Created] (THRIFT-2064) Node thrift can't handle boolean or int

Sherban Drulea created THRIFT-2064:
--------------------------------------

             Summary: Node thrift can't handle boolean or int
                 Key: THRIFT-2064
                 URL: https://issues.apache.org/jira/browse/THRIFT-2064
             Project: Thrift
          Issue Type: Bug
          Components: Node.js - Library
    Affects Versions: 0.9
            Reporter: Sherban Drulea
            Priority: Critical


When passing an object with a boolean or integer via the thrift-npm, I get the following error:

ERROR:Object false has no method 'copy'

The error is from the many copy() calls in thrift-npm: thrift/lib/thrift/transport.js

Please fix transports.js to handle JS primitives. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira