You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Ken Wronkiewicz (Updated) (JIRA)" <ji...@apache.org> on 2011/11/21 23:15:51 UTC
[jira] [Updated] (THRIFT-1434) Node.js Thrift compiler fails to
generate server code using inheritance
[ https://issues.apache.org/jira/browse/THRIFT-1434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ken Wronkiewicz updated THRIFT-1434:
------------------------------------
Attachment: thrift-1434.tar.bz2
test case code
> Node.js Thrift compiler fails to generate server code using inheritance
> -----------------------------------------------------------------------
>
> Key: THRIFT-1434
> URL: https://issues.apache.org/jira/browse/THRIFT-1434
> Project: Thrift
> Issue Type: Bug
> Components: JavaScript - Compiler
> Affects Versions: 0.7
> Environment: Ubuntu 10.04 LTS, MacOS X 10.5
> Reporter: Ken Wronkiewicz
> Labels: nodejs
> Attachments: thrift-1434.tar.bz2
>
>
> Test case to be attached.
> If I create a service B that extends a service A, the client code is correctly generated such that the user could create a client of service B and use the functions provided by service A.
> However, if I try to create a server for service B, it will not expose functions used by service A.
> Attached test case, written in node.js, has good-server.js and bad-server.js, where bad-server.js implements the child service and good-server.js which implements the parent service. test.js will try to connect and print out the error message and build.sh will rebuild the thrift generated code.
--
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