[
https://issues.apache.org/jira/browse/THRIFT-1434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13156301#comment-13156301
]
Hudson commented on THRIFT-1434:
--------------------------------
Integrated in Thrift #341 (See [https://builds.apache.org/job/Thrift/341/])
THRIFT-1434 Node.js Thrift compiler fails to generate server code using
inheritance
Patch: Wade Simmons
roger : http://svn.apache.org/viewvc/?view=rev&rev=1205592
Files :
* /thrift/trunk/compiler/cpp/src/generate/t_js_generator.cc
> 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
> Assignee: Wade Simmons
> Labels: nodejs
> Attachments:
> 0001-We-need-to-use-Thrift.inherits-for-Processors-like-w.patch,
> thrift-1434-2.tar.bz2, 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